BridgeEventType
constBridgeEventType:object
Defined in: packages/ai.matey.types/src/bridge.ts:117
Event types emitted by Bridge.
Type Declaration
Section titled “Type Declaration”BACKEND_FAILOVER
Section titled “BACKEND_FAILOVER”
readonlyBACKEND_FAILOVER:"backend:failover"='backend:failover'
BACKEND_SELECTED
Section titled “BACKEND_SELECTED”
readonlyBACKEND_SELECTED:"backend:selected"='backend:selected'
MIDDLEWARE_EXECUTED
Section titled “MIDDLEWARE_EXECUTED”
readonlyMIDDLEWARE_EXECUTED:"middleware:executed"='middleware:executed'
REQUEST_CANCELLED
Section titled “REQUEST_CANCELLED”
readonlyREQUEST_CANCELLED:"request:cancelled"='request:cancelled'
REQUEST_ERROR
Section titled “REQUEST_ERROR”
readonlyREQUEST_ERROR:"request:error"='request:error'
REQUEST_START
Section titled “REQUEST_START”
readonlyREQUEST_START:"request:start"='request:start'
REQUEST_SUCCESS
Section titled “REQUEST_SUCCESS”
readonlyREQUEST_SUCCESS:"request:success"='request:success'
STREAM_CHUNK
Section titled “STREAM_CHUNK”
readonlySTREAM_CHUNK:"stream:chunk"='stream:chunk'
STREAM_COMPLETE
Section titled “STREAM_COMPLETE”
readonlySTREAM_COMPLETE:"stream:complete"='stream:complete'
STREAM_ERROR
Section titled “STREAM_ERROR”
readonlySTREAM_ERROR:"stream:error"='stream:error'
STREAM_START
Section titled “STREAM_START”
readonlySTREAM_START:"stream:start"='stream:start'