UNPKG

node-sagas-orchestrator

Version:

Library for handling distributed transactions using an orchestrator

11 lines (10 loc) 360 B
import { SagaContext } from './saga-context'; export declare class SagaContextMediator<T extends object = null> { private readonly sagaContext; constructor(sagaContext: SagaContext<T>); disableStep(key: string): void; enableStep(key: string): void; isStepDisable(key: string): boolean; getContext(): T; setContext(context: T): T; }