Skip to content

@purista/core v2.0.5


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:55

The command function context which will be passed into command function.

Type Parameters

MessagePayloadType = unknown

MessageParamsType = unknown

Resources extends Record<string, any> = EmptyObject

Invokes extends InvokeList = EmptyObject

EmitList extends Record<string, Schema> = EmptyObject