WithJob

interface WithJob

Marks a class that it has a Job to start coroutines with.

Functions

handledBy
Link copied to clipboard
js
open infix fun <E : Event, X : Element> DomListener<E, X>.handledBy(handler: Handler<Unit>)
Connects Events to a Handler.
open infix fun <E : Event, X : Element> DomListener<E, X>.handledBy(execute: suspend (E) -> Unit): Job
Connects a Flow to a suspendable execute function.
open infix fun <E : Event> WindowListener<E>.handledBy(handler: Handler<Unit>)
Connects Events to a Handler.
open infix fun <E : Event> WindowListener<E>.handledBy(execute: suspend (E) -> Unit): Job
Connects a Flow to a suspendable execute function.
open infix fun <A> Flow<A>.handledBy(handler: Handler<A>)
Connects a Flow to a Handler.
open infix fun <A> Flow<A>.handledBy(execute: suspend (A) -> Unit): Job
Connects a Flow to a suspendable execute function.

Properties

job
Link copied to clipboard
js
abstract val job: Job
Job for launching coroutines in.

Inheritors

Store
Link copied to clipboard
EventContext
Link copied to clipboard
RenderContext
Link copied to clipboard