Handler

interface Handler<A>

Base-interface of the different types of handlers

Functions

equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
invoke
Link copied to clipboard
js
open operator fun invoke()
Calls this handler exactly once.
open operator fun invoke(data: A)
Calls this handler exactly once.
toString
Link copied to clipboard
js
open fun toString(): String

Properties

collect
Link copied to clipboard
js
abstract val collect: (Flow<A>, Job) -> Unit
function describing how this handler collects a flow when called

Inheritors

SimpleHandler
Link copied to clipboard
EmittingHandler
Link copied to clipboard