Class TwitchPubSubConnectionPool

All Implemented Interfaces:
TransactionalSubscriber<PubSubRequest,PubSubSubscription,Boolean>, ITwitchPubSub, AutoCloseable

A pool for PubSub connections to help navigate rate-limits.

Warning: Passing a ScheduledThreadPoolExecutor with too small corePoolSize can lead to connections in the pool not behaving properly. Not specifying an executor allows connections to create their own at will. If enough connections are made, this could pollute one's runtime environment.