PURISTA API / @purista/core / CommandFunctionContext
Type Alias: CommandFunctionContext<MessagePayloadType, MessageParamsType, Resources, Invokes, EmitList>
CommandFunctionContext<
MessagePayloadType,MessageParamsType,Resources,Invokes,EmitList> =Prettify<ContextBase&CommandFunctionContextEnhancements<MessagePayloadType,MessageParamsType,Resources,Invokes,EmitList>>
Defined in: packages/core/src/core/types/commandType/CommandFunctionContext.ts:57
The command function context which will be passed into command function.
Type Parameters
MessagePayloadType
MessagePayloadType = unknown
MessageParamsType
MessageParamsType = unknown
Resources
Resources extends Record<string, any> = EmptyObject
Invokes
Invokes extends InvokeList = EmptyObject
EmitList
EmitList extends Record<string, Schema> = EmptyObject
