diff --git a/packages/react-native/React/Base/RCTRuntimeExecutorModule.h b/packages/react-native/React/Base/RCTRuntimeExecutorModule.h index fd05fe2c54e..6c9058adbcd 100644 --- a/packages/react-native/React/Base/RCTRuntimeExecutorModule.h +++ b/packages/react-native/React/Base/RCTRuntimeExecutorModule.h @@ -5,14 +5,15 @@ * LICENSE file in the root directory of this source tree. */ +#import + @class RCTRuntimeExecutor; /** - * Have your module conform to this protocol to access the RuntimeExecutor. - * Only available in the bridgeless runtime. + * This is deprecated. Use RCTCallInvokerModule instead. */ @protocol RCTRuntimeExecutorModule -@property (nonatomic, nullable, readwrite) RCTRuntimeExecutor *runtimeExecutor; +@property (nonatomic, nullable, readwrite) RCTRuntimeExecutor *runtimeExecutor RCT_DEPRECATED; @end