Skip to content

Interface: IFlow ​

Table of contents ​

Properties ​

Methods ​

Properties ​

data ​

• data: FlowData


steps ​

• steps: Map<string, IStep>

Methods ​

clear ​

▸ clear(clearStepsToo?): IFlow

Parameters ​

NameType
clearStepsToo?boolean

Returns ​

IFlow


complete ​

▸ complete(): Promise<void>

Returns ​

Promise<void>


getData ​

▸ getData(): FlowData

Returns ​

FlowData


getState ​

▸ getState(): FlowState

Returns ​

FlowState


isCompleted ​

▸ isCompleted(): boolean

Returns ​

boolean


isStarted ​

▸ isStarted(): boolean

Returns ​

boolean


on ​

▸ on(eventId, callback): void

Parameters ​

NameType
eventIdStepEventListeners
callbackStateChangeCallback

Returns ​

void


step ​

▸ step(stepId): IStep

Parameters ​

NameType
stepIdstring

Returns ​

IStep