actions/action_event_types.ts

Action event type definitions — state machine constants and environment interface.

Declarations
#

6 declarations

view source

ACTION_EVENT_PHASE_BY_KIND
#

actions/action_event_types.ts view source

Record<"request_response" | "remote_notification" | "local_call", readonly ("send_request" | "receive_request" | "send_response" | "receive_response" | "send_error" | "receive_error" | "send" | "receive" | "execute")[]>

ACTION_EVENT_PHASE_TRANSITIONS
#

actions/action_event_types.ts view source

Record<"send_request" | "receive_request" | "send_response" | "receive_response" | "send_error" | "receive_error" | "send" | "receive" | "execute", "send_request" | "receive_request" | ... 7 more ... | null>

ACTION_EVENT_STEP_TRANSITIONS
#

ActionEventEnvironment
#

actions/action_event_types.ts view source

ActionEventEnvironment

executor

readonly

lookup_action_handler

type ( method: string, phase: ActionEventPhase, ) => ((event: any) => any) | undefined

lookup_action_spec

type (method: string) => ActionSpecUnion | undefined

log

type Logger | null
readonly

ActionEventStep
#

ActionExecutor
#

Imported by
#