Creates a new Sandcorn ID generator for the current computer
A function that generates unique Sandcorn IDs
const generateId = createSandcornGenerator();// Generate IDs for your distributed applicationfunction createNewTask(name: string) { return { id: generateId(), name, createdAt: os.epoch() };} Copy
const generateId = createSandcornGenerator();// Generate IDs for your distributed applicationfunction createNewTask(name: string) { return { id: generateId(), name, createdAt: os.epoch() };}
Creates a new Sandcorn ID generator for the current computer