Package-level declarations

Types

Link copied to clipboard
data class DispatchList(val actions: List<Action>) : Thunk<Unit>

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

Link copied to clipboard

Namespace for DispatchList config classes.

Link copied to clipboard
data class JoiningCoroutinesDispatchList(val actions: List<Action>, val concurrent: Boolean) : CoThunk<Any?>

A CoThunk that dispatches actions in given order. If concurrent is false, every ForegroundJobAction is joined sequentially. If concurrent is true, actions are dispatched concurrently and execute suspends until every ForegroundJobAction is completed.

Functions

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.