UNPKG

node-sagas

Version:

Library for handling distributed transactions in the microservices architecture

9 lines (8 loc) 272 B
import { Step } from './step'; import { SagaFlow } from './saga-flow'; import { Saga } from './saga'; export default class Factory<T> { createSaga(steps: Step<T>[]): Saga<T>; createSagaFlow(steps: Step<T>[]): SagaFlow<T>; createStep(name?: string): Step<T>; }