CoroutineSession

interface CoroutineSession

Facade of a coroutine session of a single plugin.

Functions

registerSuspendCommand
Link copied to clipboard
abstract fun registerSuspendCommand(meta: <ERROR CLASS>, command: SuspendingSimpleCommand)

Registers a suspend command.

registerSuspendListener
Link copied to clipboard
abstract fun registerSuspendListener(listener: Any, onlyRegisterSuspend: Boolean)

Registers a suspend listener.

Properties

dispatcherVelocity
Link copied to clipboard
abstract val dispatcherVelocity: CoroutineContext

Velocity Dispatcher.

scope
Link copied to clipboard
abstract val scope: <ERROR CLASS>

Plugin scope.