From c61ca23a09c1714f506ed39070b90ba9121ccc86 Mon Sep 17 00:00:00 2001 From: Karan Thakkar Date: Sat, 17 Nov 2018 23:04:42 +0000 Subject: [PATCH] Rename requiresMainThreadSetup -> requiresMainQueueSetup in comment --- React/Base/RCTBridgeModule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Base/RCTBridgeModule.h b/React/Base/RCTBridgeModule.h index 729a6d6f5421e6..a01e4117aca53a 100644 --- a/React/Base/RCTBridgeModule.h +++ b/React/Base/RCTBridgeModule.h @@ -301,7 +301,7 @@ RCT_EXTERN void RCTRegisterModule(Class); \ * for the lifetime of the bridge, so it is not suitable for returning dynamic values, but may be used for long-lived * values such as session keys, that are regenerated only as part of a reload of the entire React application. * - * If you implement this method and do not implement `requiresMainThreadSetup`, you will trigger deprecated logic + * If you implement this method and do not implement `requiresMainQueueSetup`, you will trigger deprecated logic * that eagerly initializes your module on bridge startup. In the future, this behaviour will be changed to default * to initializing lazily, and even modules with constants will be initialized lazily. */