MCPcopy Create free account

hub / github.com/SlavaPanevskiy/node-sagas / functions

Functions36 in github.com/SlavaPanevskiy/node-sagas

↓ 17 callersMethodinvoke
(params: T)
src/step.ts:18
↓ 12 callersMethodstep
(name = '')
src/saga-builder.ts:14
↓ 7 callersMethodgetState
()
src/saga.ts:25
↓ 7 callersMethodsetParam
(param)
src/tests/saga-params.ts:4
↓ 6 callersMethodexecute
(params: T)
src/saga.ts:29
↓ 5 callersMethodcompensate
(params: T)
src/step.ts:24
↓ 5 callersFunctionexpectSagaFlowMethod
(sagaFlowMethod, sagaParams)
src/tests/saga.spec.ts:6
↓ 4 callersMethodbuild
()
src/saga-builder.ts:30
↓ 4 callersFunctionexpectInvokeBehavior
(stepMock, sagaParams)
src/tests/saga-flow.spec.ts:5
↓ 3 callersMethodwithCompensation
(method: (params: T) => Promise<void> | void)
src/saga-builder.ts:25
↓ 2 callersMethodcreateSaga
(steps: Step<T>[])
src/factory.ts:6
↓ 2 callersMethodcreateSagaFlow
(steps: Step<T>[])
src/factory.ts:10
↓ 2 callersMethodcreateStep
(name = '')
src/factory.ts:14
↓ 2 callersFunctionexpectStepsBehavior
(stepMock1, stepMock2, sagaParams)
src/tests/saga-flow.spec.ts:10
↓ 2 callersMethodsetCompensation
(method: (params: T) => Promise<void> | void)
src/step.ts:14
↓ 2 callersMethodsetInvocation
(method: (params: T) => Promise<void> | void)
src/step.ts:10
↓ 1 callersMethodcreateBuilder
()
src/saga-builder-factory.ts:4
↓ 1 callersMethodexecute
(params: CreateOrderSagaParams)
example/create-order-saga.ts:6
↓ 1 callersMethodgetCreateOrderSagaDefinition
()
example/create-order-saga.ts:20
↓ 1 callersMethodgetName
()
src/step.ts:30
↓ 1 callersMethodgetParam
()
src/tests/saga-params.ts:8
↓ 1 callersMethodrunCompensationFlow
(params: T)
src/saga.ts:44
Methodcompensate
(params: T)
src/saga-flow.ts:18
Methodconstructor
(steps: Step<T>[] = [])
src/saga-flow.ts:7
Methodconstructor
(sagaFlow: SagaFlow<T>)
src/saga.ts:20
Methodconstructor
(name = '')
src/step.ts:6
Methodconstructor
(e: Error)
src/exceptions/saga-compensation-failed.ts:4
Methodconstructor
(e: Error)
src/exceptions/saga-exuction-failed.ts:4
MethodcreateOrder
()
example/order-service.ts:6
MethodgetCustomerId
()
example/create-order-saga-params.ts:13
MethodgetOrderId
()
example/create-order-saga-params.ts:5
Methodinvoke
(params: T)
src/saga-flow.ts:11
Methodinvoke
(method: (params: T) => Promise<void> | void)
src/saga-builder.ts:20
MethodsetCustomerId
(customerId)
example/create-order-saga-params.ts:17
MethodsetFactory
(factory: Factory<T>)
src/saga-builder.ts:10
MethodsetOrderId
(orderId)
example/create-order-saga-params.ts:9