Erster Docker-Stand
This commit is contained in:
11
_node_modules/effect/dist/esm/internal/stm/txnId.js
generated
vendored
Normal file
11
_node_modules/effect/dist/esm/internal/stm/txnId.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/** @internal */
|
||||
const txnCounter = {
|
||||
ref: 0
|
||||
};
|
||||
/** @internal */
|
||||
export const make = () => {
|
||||
const newId = txnCounter.ref + 1;
|
||||
txnCounter.ref = newId;
|
||||
return newId;
|
||||
};
|
||||
//# sourceMappingURL=txnId.js.map
|
||||
Reference in New Issue
Block a user