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(commandSpec: <ERROR CLASS>, commandExecutor: SuspendingCommandExecutor)
Content copied to clipboard
Registers a suspend command executor.
register Suspend Listener
Link copied to clipboard
Registers a suspend listener.