ActionHandler
@daydreamsai/core / ActionHandler
Type Alias: ActionHandler<Schema, Result, TContext, TAgent, TMemory>
ActionHandler<
Schema,Result,TContext,TAgent,TMemory> =Schemaextendsundefined? (ctx,agent) =>MaybePromise<Result> : (args,ctx,agent) =>MaybePromise<Result>
Defined in: packages/core/src/types.ts:108
Type Parameters
Schema
Schema extends ActionSchema = undefined
Result
Result = any
TContext
TContext extends AnyContext = AnyContext
TAgent
TAgent extends AnyAgent = AnyAgent
TMemory
TMemory extends ActionState = ActionState