1. /**
    
  2.  * Copyright (c) Meta Platforms, Inc. and affiliates.
    
  3.  *
    
  4.  * This source code is licensed under the MIT license found in the
    
  5.  * LICENSE file in the root directory of this source tree.
    
  6.  *
    
  7.  * @flow
    
  8.  */
    
  9. import type {Request} from 'react-server/src/ReactFlightServer';
    
  10. 
    
  11. export * from 'react-server-dom-turbopack/src/ReactFlightServerConfigTurbopackBundler';
    
  12. export * from 'react-dom-bindings/src/server/ReactFlightServerConfigDOM';
    
  13. 
    
  14. // For now, we get this from the global scope, but this will likely move to a module.
    
  15. export const supportsRequestStorage = typeof AsyncLocalStorage === 'function';
    
  16. export const requestStorage: AsyncLocalStorage<Request> = supportsRequestStorage
    
  17.   ? new AsyncLocalStorage()
    
  18.   : (null: any);