DispatchList

data class DispatchList(val actions: List<Action>) : Thunk<Unit>

A ThunkMarker that dispatches actions in given order. It should be created with plus.

Constructors

Link copied to clipboard
fun DispatchList(actions: List<Action>)

Functions

Link copied to clipboard
open override fun DispatchScope<Unit>.execute()

Properties

Link copied to clipboard

Extensions

Link copied to clipboard
operator fun Action.plus(other: Action): DispatchList

Creates a DispatchList with this action and other. This operator automatically flattens DispatchList, so a chain of calls results in a single and flat DispatchList.