Skip to content

StoredFlowsRuntime

addDynamicFlows(defs, opts): Promise<void>;
Parameter Type

defs

readonly FlowDefinition[]

opts

{ agentId: string; replace?: boolean; store?: FlowDefinitionsStore; }

opts.agentId

string

opts.replace?

boolean

opts.store?

FlowDefinitionsStore

Promise<void>


removeDynamicFlow(name, opts): Promise<boolean>;
Parameter Type

name

string

opts

{ agentId: string; }

opts.agentId

string

Promise<boolean>