UNPKG

saga-transaction-lib

Version:

A TypeScript library for implementing the Saga pattern to manage distributed transactions and complex workflows

8 lines (7 loc) 269 B
import { ILogger } from '../interfaces/logger.interface'; import { IErrorHandler } from '../interfaces/error-handler.interface'; export type SagaOptions<TContext> = { logger?: ILogger; errorHandler?: IErrorHandler<TContext>; shouldStopOnError?: boolean; };