Skip to content

Documentation / @agentick/shared / RPCTransportCallbacks

Interface: RPCTransportCallbacks

Defined in: rpc-transport.ts:37

Callbacks the delegate invokes when data arrives or the connection drops.

Methods

onClose()

onClose(): void

Defined in: rpc-transport.ts:39

Returns

void


onError()

onError(error): void

Defined in: rpc-transport.ts:40

Parameters

error

Error

Returns

void


onMessage()

onMessage(data): void

Defined in: rpc-transport.ts:38

Parameters

data

Record<string, unknown>

Returns

void

Released under the ISC License.