main
js 21 lines 634 Bytes
Raw
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
10 import {AsyncLocalStorage} from 'async_hooks';
11
12 import type {Request} from 'react-server/src/ReactFizzServer';
13
14 export * from 'react-dom-bindings/src/server/ReactFizzConfigDOM';
15
16 export * from 'react-client/src/ReactClientConsoleConfigServer';
17
18 export const isWorkLoopExternallyDriven = false;
19 export const supportsRequestStorage = true;
20 export const requestStorage: AsyncLocalStorage<Request | void> =
21 new AsyncLocalStorage();