mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Delete RCTJSInvokerModule protocol
Summary: This protocol is no longer necessary, because we introduced the bridgeless-compatible abstraction: RCTCallJSModuleMethod. Changelog: [iOS][Removed] - Delete RCTCallJSModuleMethod protocol Reviewed By: fkgozali Differential Revision: D28395446 fbshipit-source-id: 0ad606ce7935b24bfbd6e0c2f35fbde480a8a6ff
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6c5ac8036e
commit
73fbe80fc4
@@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* This protocol should be adopted when a turbo module needs to directly call into JavaScript.
|
||||
* In bridge-less React Native, it is a replacement for [_bridge enqueueJSCall:].
|
||||
*/
|
||||
@protocol RCTJSInvokerModule
|
||||
|
||||
@optional
|
||||
@property (nonatomic, copy) void (^invokeJS)(NSString *module, NSString *method, NSArray *args);
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user