effect
Version:
The missing standard library for TypeScript, for writing production-grade software.
18 lines (17 loc) • 326 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.make = void 0;
/** @internal */
const txnCounter = {
ref: 0
};
/** @internal */
const make = () => {
const newId = txnCounter.ref + 1;
txnCounter.ref = newId;
return newId;
};
exports.make = make;
//# sourceMappingURL=txnId.js.map