@myfunc/prisma-transactional
Version:
Decorator that wraps all prisma queries along the whole call stack to a single transaction.
7 lines (6 loc) • 316 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TRANSACTION_TIMEOUT = exports.TX_CLIENT_SUCCESS_CALLBACKS = exports.TX_CLIENT_KEY = void 0;
exports.TX_CLIENT_KEY = 'txClient';
exports.TX_CLIENT_SUCCESS_CALLBACKS = 'txClientSuccessCallbacks';
exports.TRANSACTION_TIMEOUT = 60000;