react-native-worklets
Version:
The React Native multithreading library
14 lines • 612 B
TypeScript
/**
* This function is an entry point for Worklet Runtimes. We can use it to setup
* necessary tools, like the ValueUnpacker.
*
* We must throw an error at the end of this function to prevent the bundle to
* continue executing. This is because the next module to be ran would be the
* React Native one, and it would break the Worklet Runtime if initialized. The
* error is caught in C++ code.
*
* This function has no effect on the RN Runtime beside setting the
* `_WORKLETS_BUNDLE_MODE` flag.
*/
export declare function bundleModeInit(): void;
//# sourceMappingURL=workletRuntimeEntry.native.d.ts.map