runParallelConversations
ref / conversations / runParallelConversations
Takes a conversation builder function and some state and runs all parallel instances of it until a conversation result was produced.
This is used internally to run a conversation, but bots typically don’t have to call this method.
Type Parameters
OC
ts
OC extends ContextC
ts
C extends ContextParameters
builder
ts
builder: ConversationBuilder<OC, C>A conversation builder function
base
ts
base: ContextBaseDataContext base data containing the incoming update
id
ts
id: stringThe identifier of the conversation
data
ts
data: ConversationDataThe state of execution of all parallel conversations
options
ts
options?: ResumeOptions<OC, C>Additional configuration options