UNPKG

react-native-filament

Version:

A real-time physically based 3D rendering engine for React Native

5 lines 288 B
/** * Creates a callback that can be executed in he separate worklet thread of the engine. */ export declare function useWorkletCallback<T extends (...args: any[]) => any>(callback: T): (...args: Parameters<T>) => Promise<ReturnType<T>>; //# sourceMappingURL=useWorkletCallback.d.ts.map