import * as tsplus_module_1 from "@tsplus/stdlib/data/AtomicNumber";
export const TxnId = {};
/**
 * @tsplus static ets/TxnId/Ops txnCounter
 */

const txnCounter_1 = /*#__PURE__*/new tsplus_module_1.AtomicNumber(0);
export const txnCounter = txnCounter_1;
/**
 * @tsplus static ets/TxnId/Ops __call
 */

export function makeTxnId() {
  return txnCounter_1.incrementAndGet();
}
//# sourceMappingURL=TxnId.mjs.map