Files
Schnappix/node_modules/react-native-reanimated/lib/module/workletFunctions.js
T

51 lines
1.9 KiB
JavaScript

'use strict';
import { createSerializable, createWorkletRuntime as createWorkletRuntimeFromWorklets, executeOnUIRuntimeSync as executeOnUIRuntimeSyncFromWorklets, isWorkletFunction as isWorkletFunctionFromWorklets, runOnJS as runOnJSFromWorklets, runOnRuntime as runOnRuntimeFromWorklets, runOnUI as runOnUIFromWorklets } from 'react-native-worklets';
/**
* @deprecated Please import `makeShareableCloneRecursive` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
export const makeShareableCloneRecursive = createSerializable;
/**
* @deprecated Please import `createWorkletRuntime` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
export const createWorkletRuntime = createWorkletRuntimeFromWorklets;
/**
* @deprecated Please import `executeOnUIRuntimeSync` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
export const executeOnUIRuntimeSync = executeOnUIRuntimeSyncFromWorklets;
/**
* @deprecated Please import `runOnJS` directly from `react-native-worklets`
* instead of `react-native-reanimated`.
*/
export const runOnJS = runOnJSFromWorklets;
/**
* @deprecated Please import `runOnUI` directly from `react-native-worklets`
* instead of `react-native-reanimated`.
*/
export const runOnUI = runOnUIFromWorklets;
/**
* @deprecated Please import `runOnRuntime` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
export const runOnRuntime = runOnRuntimeFromWorklets;
/**
* @deprecated Please import `WorkletRuntime` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
/**
* @deprecated Please import `isWorkletFunction` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
export const isWorkletFunction = isWorkletFunctionFromWorklets;
//# sourceMappingURL=workletFunctions.js.map