SuspendingPlugin

interface SuspendingPlugin

Extension to the plugin interface for suspendable lifecycle functions.

Functions

onDisableAsync
Link copied to clipboard
abstract suspend fun onDisableAsync()

Called when this plugin is disabled.

onEnableAsync
Link copied to clipboard
abstract suspend fun onEnableAsync()

Called when this plugin is enabled

onLoadAsync
Link copied to clipboard
abstract suspend fun onLoadAsync()

Called after a plugin is loaded but before it has been enabled.

Inheritors

SuspendingJavaPlugin
Link copied to clipboard