fireodm
Version:
A basic and extensible ODM for the Firestore Admin SDK in Node.js with decorators, relationships, and validation.
10 lines • 407 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.transactionContext = void 0;
const async_hooks_1 = require("async_hooks");
/**
* AsyncLocalStorage instance to hold the active Firestore Transaction or WriteBatch
* for the current asynchronous execution context.
*/
exports.transactionContext = new async_hooks_1.AsyncLocalStorage();
//# sourceMappingURL=context.js.map