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 
8 #import <Foundation/Foundation.h>
9 #import <UIKit/UIKit.h>
10 
11 #import <ABI49_0_0React/ABI49_0_0RCTDefines.h>
12 
13 /**
14  * This constant can be returned from +methodQueue to force module
15  * methods to be called on the JavaScript thread. This can have serious
16  * implications for performance, so only use this if you're sure it's what
17  * you need.
18  *
19  * NOTE: ABI49_0_0RCTJSThread is not a real libdispatch queue
20  */
21 ABI49_0_0RCT_EXTERN dispatch_queue_t ABI49_0_0RCTJSThread;
22 
23 /**
24  * Initializes the ABI49_0_0RCTJSThread constant.
25  * Exported because the bridgeless initialization layer needs to initialize
26  * ABI49_0_0RCTJSThread. In bridgeless mode, ABI49_0_0RCTBridge isn't accessed, and ABI49_0_0RCTJSThread
27  * therefore isn't initialized.
28  */
29 ABI49_0_0RCT_EXTERN void _ABI49_0_0RCTInitializeJSThreadConstantInternal(void);
30