Coroutine Session
interface CoroutineSession
Content copied to clipboard
Facade of a coroutine session of a single plugin.
Functions
register Suspend Command
Link copied to clipboard
abstract fun registerSuspendCommand(meta: <ERROR CLASS>, command: SuspendingSimpleCommand)
Content copied to clipboard
Registers a suspend command.
register Suspend Listener
Link copied to clipboard
abstract fun registerSuspendListener(listener: Any, onlyRegisterSuspend: Boolean)
Content copied to clipboard
Registers a suspend listener.