RpcSubscriptionChannelEvents

type RpcSubscriptionChannelEvents<TInboundMessage> = object;

Type Parameters

Type Parameter
TInboundMessage

Events

error

error: SolanaError<RpcSubscriptionsChannelSolanaErrorCode>;

Fires when the channel closes unexpectedly.


message

message: TInboundMessage;

Fires on every message received from the remote end.

On this page