mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41260 This was introduced some experiments which are no longer relevant. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D50736166 fbshipit-source-id: 7c9ff571112127e6a9e317113c05c30483626076
17 lines
441 B
JavaScript
17 lines
441 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
* @flow strict
|
|
*/
|
|
|
|
export let isAsyncDebugging: boolean = false;
|
|
|
|
if (__DEV__) {
|
|
// These native interfaces don't exist in asynchronous debugging environments.
|
|
isAsyncDebugging = !global.nativeCallSyncHook && !global.RN$Bridgeless;
|
|
}
|