Handler

interface Handler<A>

Base-interface of the different types of handlers

Functions

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.

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