BaseCoThunk

abstract class BaseCoThunk<State>(block: suspend DispatchScope<State>.() -> Unit) : CoThunk<State>

A CoThunk implementation that executes a block.

Constructors

Link copied to clipboard
fun <State> BaseCoThunk(block: suspend DispatchScope<State>.() -> Unit)

Functions

Link copied to clipboard
suspend override fun DispatchScope<State>.execute()

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.