Inherits from NSObject
Declared in RCTModuleData.h

Overview

Copyright © 2015-present, Facebook, Inc. All rights reserved.

This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory.

Properties

cls

@property (nonatomic, strong, readonly) Class cls

config

@property (nonatomic, copy, readonly) NSDictionary *config

instance

@property (nonatomic, strong, readonly) id<RCTBridgeModule> instance

javaScriptExecutor

@property (nonatomic, weak, readonly) id<RCTJavaScriptExecutor> javaScriptExecutor

methods

@property (nonatomic, copy, readonly) NSArray *methods

name

@property (nonatomic, copy, readonly) NSString *name

queue

@property (nonatomic, strong) dispatch_queue_t queue

uid

@property (nonatomic, strong, readonly) NSNumber *uid

Instance Methods

dispatchBlock:

- (void)dispatchBlock:(dispatch_block_t)block

dispatchBlock:dispatchGroup:

- (void)dispatchBlock:(dispatch_block_t)block dispatchGroup:(dispatch_group_t)group

initWithExecutor:uid:instance:

- (instancetype)initWithExecutor:(id<RCTJavaScriptExecutor>)javaScriptExecutor uid:(NSNumber *)uid instance:(id<RCTBridgeModule>)instance