ModalsStack

class ModalsStack : RootStore<List<ModalRenderContext>>

Functions

enqueue
Link copied to clipboard
js
open suspend override fun enqueue(update: QueuedUpdate<List<ModalRenderContext>>)
equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
errorHandler
Link copied to clipboard
js
open fun errorHandler(exception: Throwable, oldValue: List<ModalRenderContext>): List<ModalRenderContext>
handle
Link copied to clipboard
js
open fun handle(errorHandler: ErrorHandler<List<ModalRenderContext>>, execute: suspend (List<ModalRenderContext>) -> List<ModalRenderContext>): SimpleHandler<Unit>
open fun <A> handle(errorHandler: ErrorHandler<List<ModalRenderContext>>, execute: suspend (List<ModalRenderContext>, A) -> List<ModalRenderContext>): SimpleHandler<A>
handleAndEmit
Link copied to clipboard
js
open fun <E> handleAndEmit(errorHandler: ErrorHandler<List<ModalRenderContext>>, execute: suspend FlowCollector<E>.(List<ModalRenderContext>) -> List<ModalRenderContext>): EmittingHandler<Unit, E>
open fun <A, E> handleAndEmit(errorHandler: ErrorHandler<List<ModalRenderContext>>, execute: suspend FlowCollector<E>.(List<ModalRenderContext>, A) -> List<ModalRenderContext>): EmittingHandler<A, E>
handledBy
Link copied to clipboard
js
open infix fun <E : Event, X : Element> DomListener<E, X>.handledBy(handler: Handler<Unit>)
open infix fun <E : Event> WindowListener<E>.handledBy(handler: Handler<Unit>)
open infix fun <A> Flow<A>.handledBy(handler: Handler<A>)
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
push
Link copied to clipboard
js
fun push(dialog: ModalRenderContext): SimpleHandler<Unit>
sub
Link copied to clipboard
js
fun <X> sub(lens: Lens<List<ModalRenderContext>, X>): SubStore<List<ModalRenderContext>, List<ModalRenderContext>, X>
syncBy
Link copied to clipboard
js
open fun syncBy(handler: Handler<Unit>)
open fun syncBy(handler: Handler<List<ModalRenderContext>>)
syncWith
Link copied to clipboard
js
open fun <I> syncWith(socket: Socket, resource: Resource<List<ModalRenderContext>, I>)
toString
Link copied to clipboard
js
open fun toString(): String

Properties

current
Link copied to clipboard
js
open override val current: List<ModalRenderContext>
data
Link copied to clipboard
js
open override val data: Flow<List<ModalRenderContext>>
id
Link copied to clipboard
js
open override val id: String
job
Link copied to clipboard
js
open override val job: Job
pop
Link copied to clipboard
js
val pop: SimpleHandler<Unit>
update
Link copied to clipboard
js
open override val update: SimpleHandler<List<ModalRenderContext>>