Events

interface Events(source)

Register custom events handlers that will be called during the lifetime of the server.

Inheritors

Functions

Link copied to clipboard
abstract fun onDispose(callback: (event: DisposeEvent) -> Unit)

Registers a handler for resource cleanup when server is shutting down.