Skip to content

@mastondzn/dank-twitch-irc / ConnectionPool

Class: ConnectionPool

Implements

Constructors

new ConnectionPool(client, options)

new ConnectionPool(client, options): ConnectionPool

Parameters

client: ChatClient

options: ConnectionPoolOptions

Returns

ConnectionPool

Source

src/mixins/connection-pool.ts:14

Properties

client

private client: ChatClient

Source

src/mixins/connection-pool.ts:11


poolSize

private poolSize: number

Source

src/mixins/connection-pool.ts:12

Methods

applyToClient()

applyToClient(client): void

Parameters

client: ChatClient

Returns

void

Implementation of

ClientMixin.applyToClient

Source

src/mixins/connection-pool.ts:19


ensureEnoughConnections()

ensureEnoughConnections(): void

Returns

void

Source

src/mixins/connection-pool.ts:35