ShutdownHook

interface ShutdownHook

Interface for listening to the shutdown of the environment (JVM, browser, etc).

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
onShutdown
Link copied to clipboard
common
abstract fun onShutdown(listener: () -> Unit)
Adds a listener which will be notified when the environment shuts down.
toString
Link copied to clipboard
common
open fun toString(): String

Inheritors

TileGrid
Link copied to clipboard
DefaultShutdownHook
Link copied to clipboard
ThreadSafeTileGrid
Link copied to clipboard

Sources

(source)
Link copied to clipboard