twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks

SingleUserPubSubClientOptions

Options for creating the single-user PubSub client.

{
The {@AuthProvider} instance to use for token management.
Options to pass to the logger.
logger?: Partial<LoggerOptions>
The underlying {@BasicPubSubClient} instance. If not given, we'll create a new one.
}

Properties

authProvider

Type: AuthProvider

The AuthProvider instance to use for token management.

logger

Type: ?Partial<LoggerOptions>

Options to pass to the logger.

pubSubClient

Type: ?BasicPubSubClient

The underlying BasicPubSubClient instance. If not given, we'll create a new one.

WARNING: If you pass this, you shouldn't execute any manual actions on it. You can, however, pass the same client to multiple instances of SingleUserPubSubClient.