DisposeEvent

data class DisposeEvent(val reason: DisposeReason)(source)

Represents an event triggered for the disposal of server resources.

Encapsulates the reason behind the server's resource disposal.

See also

for possible reasons for the event.

Constructors

Link copied to clipboard
constructor(reason: DisposeReason)

Properties

Link copied to clipboard

Specifies why the disposal event was triggered. Represented by the DisposeReason enum.