CoThunk

inline fun <State> CoThunk(crossinline block: suspend DispatchScope<State>.() -> Unit): CoThunk<State>

Returns a CoThunk that executes a block.