Files
RoggioApp/node_modules/effect/dist/esm/internal/stm/txnId.js
T
2026-04-26 19:42:42 +02:00

11 lines
209 B
JavaScript
Executable File

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