Signal

open class Signal<T> : ISignal<T>

Constructors

Link copied to clipboard
fun Signal()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun advise(lifetime: Lifetime, handler: (T) -> Unit)

Adds an event subscription. Every time an event occurs, the handler is called, receiving an instance of the event. The subscription is removed when the given lifetime expires.

Link copied to clipboard
open override fun fire(value: T)

Properties

Link copied to clipboard
open override val changing: Boolean