Coroutine Session
interface CoroutineSession
Content copied to clipboard
Facade of a coroutine session of a single plugin.
Functions
fire Suspending Event
Link copied to clipboard
abstract fun fireSuspendingEvent(event: <ERROR CLASS>, eventExecutionType: EventExecutionType): Collection<<ERROR CLASS>>
Content copied to clipboard
Fires a suspending event with the given eventExecutionType.
register Suspend Command Executor
Link copied to clipboard
abstract fun registerSuspendCommandExecutor(context: CoroutineContext, pluginCommand: <ERROR CLASS>, commandExecutor: SuspendingCommandExecutor)
Content copied to clipboard
Registers a suspend command executor.
register Suspend Listener
Link copied to clipboard
Registers a suspend listener.
register Suspend Tab Completer
Link copied to clipboard
abstract fun registerSuspendTabCompleter(context: CoroutineContext, pluginCommand: <ERROR CLASS>, tabCompleter: SuspendingTabCompleter)
Content copied to clipboard
Registers a suspend tab completer.
Properties
dispatcherAsync
Link copied to clipboard
dispatcherMinecraft
Link copied to clipboard
isManipulatedServerHeartBeatEnabled
Link copied to clipboard
mcCoroutineConfiguration
Link copied to clipboard