Package loggersoft.kotlin.utils.event

Types

Receiver
Link copied to clipboard
typealias Receiver<S, E> = (S, E) -> Unit

A receiver of the event.

Signal
Link copied to clipboard
interface Signal<S : Any, E : Any>
Represents interface of a signal for using inside sender object.
SignalImpl
Link copied to clipboard
class SignalImpl<S : Any, E : Any>(sender: S) : Signal<S, E>
Default implementation of Signal and Subscription interfaces.
Subscription
Link copied to clipboard
interface Subscription<out S : Any, out E : Any>
Represents interface for subscription on an event.