1 /* 2 * Copyright (c) Meta Platforms, Inc. and affiliates. 3 * 4 * This source code is licensed under the MIT license found in the 5 * LICENSE file in the root directory of this source tree. 6 */ 7 8 @class ABI47_0_0RCTSource; 9 10 /** 11 * This protocol should be adopted when a turbo module needs to tell ABI47_0_0React Native to load a script. 12 * In bridge-less ABI47_0_0React Native, it is a replacement for [_bridge loadAndExecuteSplitBundleURL:]. 13 */ 14 @protocol ABI47_0_0RCTJSScriptLoaderModule <NSObject> 15 16 @property (nonatomic, copy, nonnull) void (^loadScript)(ABI47_0_0RCTSource *source); 17 18 @end 19