Skip to content
1 min read · 42 words

Type Alias: ThoughtMutateFn

ts
type ThoughtMutateFn = (ctx: TurnContext, v: Thought) => void | Promise<void>;

Defined in: lib/contracts/turn_runner_context.ts:205

Updates an existing thought in the persistence layer.

Parameters

ParameterType
ctxTurnContext
vThought

Returns

void | Promise<void>