CoThunk

It is very similar to Thunk, however execute suspends. It should be used to perform asynchronous logic. Important: It is a ForegroundJobAction and thunkMiddleware is responsible for launching foreground coroutine.

Functions

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

Inheritors

Link copied to clipboard
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.