Skip to content

SessionEventBridge

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/libs/agent-core/src/protocol/session-event-bridge.ts

Methods

MethodSignatureReturns
addTransportaddTransport(transport: AgentTransport)void
onon(type: T, handler: AgentProtocolEventHandler<T>)void
disposedispose()void

Where it refuses work

  • SessionEventBridge stops the work with an early return when this.disposed.

When something fails

  • SessionEventBridge handles failure in 2 places: it discards it silently in all 2.

Was this page helpful?

Download as PDF