EventRegistry

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Unit

Properties

Link copied to clipboard
Unit instance

Functions

Link copied to clipboard
@ApiStatus.Internal
open fun call(@NotNull t: @NotNull T)
Link copied to clipboard
@ApiStatus.Internal
open fun clear()
Link copied to clipboard
@ApiStatus.Internal
open fun clearAll()
Link copied to clipboard
@NotNull
open fun register(@NotNull consumer: @NotNull Consumer<in T>): @NotNull EventRegistry<T>
Registers listener
Link copied to clipboard
@ApiStatus.Internal
@NotNull
open fun registerTemp(@NotNull consumer: @NotNull Consumer<in T>): @NotNull EventRegistry<T>