handledBy

open infix fun <A> Flow<A>.handledBy(handler: Handler<A>)

Connects a Flow to a Handler.

Parameters

<receiver>

Flow of action/events to bind to an Handler

handler

Handler that will be called for each action/event on the Flow