ComplexLifecycle

@ApiStatus.Experimental
@ApiStatus.AvailableSince(value = "4.3.0")
interface ComplexLifecycle : Lifecycle

Functions

Link copied to clipboard
open suspend fun handleDisable()

Called when this object is disabled|stopped

Link copied to clipboard
open suspend fun handleEnable()

Called when this object is enabled|started

Link copied to clipboard
open suspend fun handleLoad()

Called when this object is created|loaded

Link copied to clipboard
open suspend fun handleReload()

Called when this object is should reload its configuration/data

Link copied to clipboard
open suspend fun handleUnload()

Called when this object is destroyed|disposed|unloaded

Inheritors

Link copied to clipboard