2016-11-15 17:28:10 +00:00
|
|
|
/**
|
2018-09-11 22:27:47 +00:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2016-11-15 17:28:10 +00:00
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2016-11-15 17:28:10 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
2016-11-23 15:47:52 +00:00
|
|
|
#import <React/RCTBridgeModule.h>
|
2016-11-15 17:28:10 +00:00
|
|
|
|
2017-04-18 20:15:25 +00:00
|
|
|
@interface RCTJSCSamplingProfiler : NSObject <RCTBridgeModule>
|
2016-11-15 17:28:10 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Receives a JSON string containing the result of a JSC CPU Profiling run,
|
|
|
|
* and sends them to the packager to be symbolicated and saved to disk.
|
|
|
|
* It is safe to call this method from any thread.
|
|
|
|
*/
|
|
|
|
- (void)operationCompletedWithResults:(NSString *)results;
|
|
|
|
|
|
|
|
@end
|