UNPKG

@schemeless/event-store-react-native

Version:

React Native compatible build of the [`@schemeless/event-store`](../event-store) runtime. It mirrors the Node.js implementation but swaps the internal queue implementation to [`react-native-better-queue`](https://github.com/YahyaASadiq/react-native-better

13 lines (12 loc) 338 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getUlid = void 0; const ulid_1 = require("ulid"); let ulidInstance; const getUlid = () => { if (ulidInstance) return ulidInstance(); ulidInstance = (0, ulid_1.monotonicFactory)(); return ulidInstance(); }; exports.getUlid = getUlid;