Emitter

class Emitter<TType>

https://in-kotlin.com/design-patterns/observer/

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun attach(callback: (newValue: TType) -> Unit): Emitter.Connection
Link copied to clipboard
fun detach(connection: Emitter.Connection)
Link copied to clipboard
fun emit(newValue: TType)