action_event_types.ts

Declarations
#

6 declarations

view source

ACTION_EVENT_PHASE_BY_KIND
#

action_event_types.ts view source

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

ACTION_EVENT_PHASE_TRANSITIONS
#

action_event_types.ts view source

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

ACTION_EVENT_STEP_TRANSITIONS
#

action_event_types.ts view source

Record<"initial" | "parsed" | "handling" | "handled" | "failed", readonly ("initial" | "parsed" | "handling" | "handled" | "failed")[]>

ActionEventEnvironment
#

action_event_types.ts view source

ActionEventEnvironment

executor

readonly

peer

lookup_action_handler

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

lookup_action_spec

type (method: ActionMethod) => ActionSpecUnion | undefined

log

type Logger | null
readonly

actions

type Actions

ActionEventStep
#

ActionExecutor
#

Imported by
#