UNPKG

nestjs-typeorm-transactions

Version:

A NestJS module to make transaction management easier across different services

6 lines (5 loc) 332 B
/// <reference types="node" /> import { AsyncLocalStorage } from 'async_hooks'; import { IAsyncLocalStore } from '../types/async-local-store'; /** Async local storage that is used to share the transactional entity manager across different method calls */ export declare const asyncLocalStorage: AsyncLocalStorage<IAsyncLocalStore>;