Skip to main content
Version: 11.x

Type Alias: SubscriptionChannelOptions

SubscriptionChannelOptions = object

Defined in: src/channel/ws/subscriptionChannel.ts:33

What a SubscriptionChannel needs: a socket to borrow, and how much to buffer.

Properties

transport

transport: WsTransport

Defined in: src/channel/ws/subscriptionChannel.ts:35

The transport to send on and listen to. Borrowed, never closed by this channel.


maxBufferSize?

optional maxBufferSize?: number

Defined in: src/channel/ws/subscriptionChannel.ts:37

Events held per subscription while no handler is attached. Defaults to 1000.