CoroutineSession
interface CoroutineSession
Facade of a coroutine session of a single plugin.
Properties
Functions
Link copied to clipboard
abstract fun fireSuspendingEvent( event: <Error class: unknown class>, eventExecutionType: EventExecutionType): Collection<<Error class: unknown class>>
Fires a suspending event with the given eventExecutionType.
Link copied to clipboard
abstract fun registerSuspendCommandExecutor( context: CoroutineContext, pluginCommand: <Error class: unknown class>, commandExecutor: SuspendingCommandExecutor)
Registers a suspend command executor.
Link copied to clipboard
Registers a suspend listener.
Link copied to clipboard
abstract fun registerSuspendTabCompleter( context: CoroutineContext, pluginCommand: <Error class: unknown class>, tabCompleter: SuspendingTabCompleter)
Registers a suspend tab completer.