react-native-gesture-handler
Version:
Declarative API exposing native platform touch and gesture system to React Native
10 lines (9 loc) • 402 B
JavaScript
;
import { Reanimated, Worklets } from '../../../handlers/gestures/reanimatedWrapper';
export function createLastUpdateEventMap() {
if (Worklets?.createShareable === undefined || Worklets.UIRuntimeId === undefined || Reanimated === undefined) {
return undefined;
}
return Worklets.createShareable(Worklets.UIRuntimeId, new Map());
}
//# sourceMappingURL=lastUpdateEventMap.js.map