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:
Родитель
6c5ac8036e
Коммит
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
|
Загрузка…
Ссылка в новой задаче