-
Notifications
You must be signed in to change notification settings - Fork 48
itoken
- IToken
- branchNode
- currentItem
- currentNode
- data
- dataPath
- execution
- id
- lastItem
- parentToken
- path
- processId
- startNodeId
- status
- applyInput
- end
- execute
- getChildrenTokens
- goNext
- log
- preExecute
- preNext
- restored
- resume
- save
- signal
- terminate
• branchNode? : any
Defined in src/interfaces/engine.ts:13
• currentItem: IItem
Defined in src/interfaces/engine.ts:19
• currentNode: any
Defined in src/interfaces/engine.ts:15
• data: any
Defined in src/interfaces/engine.ts:18
• dataPath: string
Defined in src/interfaces/engine.ts:10
• execution: IExecution
Defined in src/interfaces/engine.ts:9
• id: any
Defined in src/interfaces/engine.ts:8
• lastItem: IItem
Defined in src/interfaces/engine.ts:20
• parentToken? : IToken
Defined in src/interfaces/engine.ts:12
• path: IItem[]
Defined in src/interfaces/engine.ts:14
• processId: any
Defined in src/interfaces/engine.ts:16
• startNodeId: any
Defined in src/interfaces/engine.ts:11
• status: TOKEN_STATUS
Defined in src/interfaces/engine.ts:17
▸ applyInput(inputData
: any): void
Defined in src/interfaces/engine.ts:40
Parameters:
Name | Type |
---|---|
inputData |
any |
Returns: void
▸ end(): Promise‹void›
Defined in src/interfaces/engine.ts:47
Returns: Promise‹void›
▸ execute(inputData
: any): Promise‹any›
Defined in src/interfaces/engine.ts:39
this is the primary exectuion method for a token
Parameters:
Name | Type |
---|---|
inputData |
any |
Returns: Promise‹any›
▸ getChildrenTokens(): any[]
Defined in src/interfaces/engine.ts:33
Returns: any[]
▸ goNext(): Promise‹void›
Defined in src/interfaces/engine.ts:48
Returns: Promise‹void›
▸ log(msg
: any): void
Defined in src/interfaces/engine.ts:49
Parameters:
Name | Type |
---|---|
msg |
any |
Returns: void
▸ preExecute(): Promise‹boolean›
Defined in src/interfaces/engine.ts:34
Returns: Promise‹boolean›
▸ preNext(): Promise‹boolean›
Defined in src/interfaces/engine.ts:35
Returns: Promise‹boolean›
▸ restored(): void
Defined in src/interfaces/engine.ts:32
Returns: void
▸ resume(): void
Defined in src/interfaces/engine.ts:31
Returns: void
▸ save(): object
Defined in src/interfaces/engine.ts:21
Returns: object
-
branchNode: any
-
currentNode: any
-
dataPath: string
-
id: any
-
loopId: any
-
parentToken: any
-
startNodeId: any
-
status: TOKEN_STATUS
▸ signal(data
: any): Promise‹any›
Defined in src/interfaces/engine.ts:46
Parameters:
Name | Type |
---|---|
data |
any |
Returns: Promise‹any›
▸ terminate(): void
Defined in src/interfaces/engine.ts:45
is called by Gateways to cancel current token
Returns: void