@logicflow/engine
Version:
a process engine for javascript
14 lines • 354 B
JavaScript
import { v4 as uuidV4 } from 'uuid';
export const createExecId = () => {
const uuid = uuidV4();
return `exec-${uuid}`;
};
export const createActionId = () => {
const uuid = uuidV4();
return `action-${uuid}`;
};
export const createEngineId = () => {
const uuid = uuidV4();
return `engine-${uuid}`;
};
//# sourceMappingURL=id.js.map