agentHandler
agentHandler(
params
): (context
,event
) =>Promise
<void
>
Defined in: .build/typescript/packages/workflow/src/agent/agent-handler.ts:74
Add an agent handler to the workflow
Parameters
Section titled “Parameters”params
Section titled “params”Omit
<StepHandlerParams
, "workflowContext"
>
Parameters for the agent handler
Returns
Section titled “Returns”A function that handles a workflow step
(
context
,event
):Promise
<void
>
Parameters
Section titled “Parameters”context
Section titled “context”WorkflowContext
WorkflowEventData
<unknown
>
Returns
Section titled “Returns”Promise
<void
>