EventHandle

class EventHandle(unregister: () -> Unit)

Represents a handle for an event listener, allowing for unregistration.

Parameters

unregister

The function to call to unregister the event listener.

Constructors

Link copied to clipboard
constructor(unregister: () -> Unit)

Functions

Link copied to clipboard
fun unlisten()