Skip to content

ema / ema / AgentStateCallback

Type Alias: AgentStateCallback()

ts
type AgentStateCallback = (next) => Promise<void>;

Defined in: packages/ema/src/agent.ts:87

Callback type for running the agent with a given state.

Parameters

next

(state) => Promise<void>

Returns

Promise<void>