BCoroutineScopesConfigBuilder

Properties

Link copied to clipboard
Link copied to clipboard
open override val commandUpdateScope: Nothing
Link copied to clipboard
open override val componentScope: Nothing
Link copied to clipboard
open override val componentTimeoutScope: Nothing
Link copied to clipboard
open override val eventDispatcherScope: Nothing

Only used for parallel event execution, including if BEventListener.async is enabled, all JDA events are executed sequentially on the same scope as the supplied CoroutineEventManager

Link copied to clipboard
open override val modalScope: Nothing
Link copied to clipboard
open override val modalTimeoutScope: Nothing
Link copied to clipboard
open override val paginationTimeoutScope: Nothing
Link copied to clipboard
open override val textCommandsScope: Nothing

Functions

Link copied to clipboard
fun defaultFactory(coroutineName: String, executor: Executor): CoroutineScopeFactory

Creates a new coroutine scope factory out of an executor.

fun defaultFactory(name: String, corePoolSize: Int): CoroutineScopeFactory

Creates a new coroutine scope factory.