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" | "receive_request" | "send_response" | "receive_response" | "send_error" | "receive_error" | "send" | "receive" | "execute")[]>

ACTION_EVENT_PHASE_TRANSITIONS
#

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
#

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

ActionEventPhase
#

action_event_types.ts view source

ZodEnum<{ send_request: "send_request"; receive_request: "receive_request"; send_response: "send_response"; receive_response: "receive_response"; send_error: "send_error"; receive_error: "receive_error"; send: "send"; receive: "receive"; execute: "execute"; }>

ActionEventStep
#

Imported by
#