@ai16z/eliza v0.1.6-alpha.4 / Handler
Type Alias: Handler()
Handler: (
runtime
,message
,state
?,options
?,callback
?) =>Promise
<unknown
>
Handler function type for processing messages
Parameters
• runtime: IAgentRuntime
• message: Memory
• state?: State
• options?
• callback?: HandlerCallback
Returns
Promise
<unknown
>