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

open infix fun <E : Event, X : Element> DomListener<E, X>.handledBy(handler: Handler<Unit>)

Connects Events to a Handler.

Parameters

<receiver>

DomListener which contains the Event

handler

that will handle the fired Event

open infix fun <E : Event> WindowListener<E>.handledBy(handler: Handler<Unit>)

Connects Events to a Handler.

Parameters

<receiver>

WindowListener which contains the Event

handler

that will handle the fired Event