Handler

interface Handler<A>

Base-interface of the different types of handlers

Inheritors

Properties

Link copied to clipboard
abstract val process: (Flow<A>, Job) -> Unit

function describing how this handler collects a Flow when called

Functions

Link copied to clipboard
open operator fun invoke(data: A)

Calls this handler exactly once.

Link copied to clipboard
operator fun Handler<Unit>.invoke()

Calls this handler exactly once.