Package-level declarations
Types
Facade of a coroutine session of a single plugin.
A Velocity event which is called when an exception is raised in one of the coroutines managed by MCCoroutine. Cancelling this exception causes the error to not get logged and offers to possibility for custom logging.
When injecting this class into your plugin instance, a new coroutine session is booted. Calling initialize allows to listen to suspend events in your plugin main class.
Suspending SimpleCommand.
Functions
Launches a new coroutine on the Velocity Plugin ThreadPool without blocking the current thread and returns a reference to the coroutine as a Job. The coroutine is cancelled when the resulting job is Job.cancel.
Registers an event listener with suspending functions. Does exactly the same thing as server.getEventManager().register but makes suspension functions possible. Example:
Registers an command executor with suspending function. Does exactly the same as CommandManager.register
Registers a new event listener with a functional style listener.