Files
ospab.host/node_modules/effect/dist/esm/internal/stm/txnId.js
2025-09-15 18:10:26 +03:00

11 lines
209 B
JavaScript

/** @internal */
const txnCounter = {
ref: 0
};
/** @internal */
export const make = () => {
const newId = txnCounter.ref + 1;
txnCounter.ref = newId;
return newId;
};
//# sourceMappingURL=txnId.js.map