UNPKG
yoonite-saga
Version:
latest (1.2.25)
1.2.25
1.2.24
1.2.23
1.2.22
1.2.21
1.2.20
1.2.18
1.2.15
1.2.14
1.2.13
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.5
1.1.4
> Orchestration de workflows transactionnels avec gestion de compensation (pattern Saga)
yoonite-saga
/
types
/
saga-step.type.ts
11 lines
(9 loc)
•
237 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
Compensation
,
Condition
,
InvokeAction
}
from
"./invoke.type"
;
export
type
SagaStep
= {
name
:
string
;
validate
:
any
;
condition
:
Condition
;
invokes
:
InvokeAction
[];
withCompensation
:
Compensation
;
debug
?:
boolean
; };