mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
deprecate RCTRuntimeExecutorModule (#44377)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44377 Changelog: [iOS][Deprecated] deprecate RCTRuntimeExecutorModule After we make CallInvoker available to native modules, we don't need this. Document it and mark it as deprecated. Reviewed By: RSNara Differential Revision: D56848799 fbshipit-source-id: 5628eef01a53bfd29d5b89c0398a938bdd87b0ac
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8f9ff89093
commit
7ea84bd3eb
@@ -5,14 +5,15 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#import <RCTDeprecation/RCTDeprecation.h>
|
||||
|
||||
@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 <NSObject>
|
||||
|
||||
@property (nonatomic, nullable, readwrite) RCTRuntimeExecutor *runtimeExecutor;
|
||||
@property (nonatomic, nullable, readwrite) RCTRuntimeExecutor *runtimeExecutor RCT_DEPRECATED;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user