Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SlavaPanevskiy/node-sagas
/ functions
Functions
36 in github.com/SlavaPanevskiy/node-sagas
⨍
Functions
36
◇
Types & classes
25
↓ 17 callers
Method
invoke
(params: T)
src/step.ts:18
↓ 12 callers
Method
step
(name = '')
src/saga-builder.ts:14
↓ 7 callers
Method
getState
()
src/saga.ts:25
↓ 7 callers
Method
setParam
(param)
src/tests/saga-params.ts:4
↓ 6 callers
Method
execute
(params: T)
src/saga.ts:29
↓ 5 callers
Method
compensate
(params: T)
src/step.ts:24
↓ 5 callers
Function
expectSagaFlowMethod
(sagaFlowMethod, sagaParams)
src/tests/saga.spec.ts:6
↓ 4 callers
Method
build
()
src/saga-builder.ts:30
↓ 4 callers
Function
expectInvokeBehavior
(stepMock, sagaParams)
src/tests/saga-flow.spec.ts:5
↓ 3 callers
Method
withCompensation
(method: (params: T) => Promise<void> | void)
src/saga-builder.ts:25
↓ 2 callers
Method
createSaga
(steps: Step<T>[])
src/factory.ts:6
↓ 2 callers
Method
createSagaFlow
(steps: Step<T>[])
src/factory.ts:10
↓ 2 callers
Method
createStep
(name = '')
src/factory.ts:14
↓ 2 callers
Function
expectStepsBehavior
(stepMock1, stepMock2, sagaParams)
src/tests/saga-flow.spec.ts:10
↓ 2 callers
Method
setCompensation
(method: (params: T) => Promise<void> | void)
src/step.ts:14
↓ 2 callers
Method
setInvocation
(method: (params: T) => Promise<void> | void)
src/step.ts:10
↓ 1 callers
Method
createBuilder
()
src/saga-builder-factory.ts:4
↓ 1 callers
Method
execute
(params: CreateOrderSagaParams)
example/create-order-saga.ts:6
↓ 1 callers
Method
getCreateOrderSagaDefinition
()
example/create-order-saga.ts:20
↓ 1 callers
Method
getName
()
src/step.ts:30
↓ 1 callers
Method
getParam
()
src/tests/saga-params.ts:8
↓ 1 callers
Method
runCompensationFlow
(params: T)
src/saga.ts:44
Method
compensate
(params: T)
src/saga-flow.ts:18
Method
constructor
(steps: Step<T>[] = [])
src/saga-flow.ts:7
Method
constructor
(sagaFlow: SagaFlow<T>)
src/saga.ts:20
Method
constructor
(name = '')
src/step.ts:6
Method
constructor
(e: Error)
src/exceptions/saga-compensation-failed.ts:4
Method
constructor
(e: Error)
src/exceptions/saga-exuction-failed.ts:4
Method
createOrder
()
example/order-service.ts:6
Method
getCustomerId
()
example/create-order-saga-params.ts:13
Method
getOrderId
()
example/create-order-saga-params.ts:5
Method
invoke
(params: T)
src/saga-flow.ts:11
Method
invoke
(method: (params: T) => Promise<void> | void)
src/saga-builder.ts:20
Method
setCustomerId
(customerId)
example/create-order-saga-params.ts:17
Method
setFactory
(factory: Factory<T>)
src/saga-builder.ts:10
Method
setOrderId
(orderId)
example/create-order-saga-params.ts:9