TreasureTrails/node_modules/effect/dist/esm/internal/stm/txnId.js
2026-03-18 09:02:21 -05:00

11 lines
No EOL
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