Skip to content

Commit

Permalink
Update store.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arkivanov authored Dec 2, 2023
1 parent 25fced7 commit f03e890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/store.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Here we extended the `CoroutineExecutor` class. The sum is calculated on the `De

> ⚠️ `CoroutineExecutor` provides the `CoroutineScope` property named `scope`, which can be used to run asynchronous tasks. The scope uses `Dispatchers.Main` dispatcher by default, which can be overriden by passing different `CoroutineContext` to the `CoroutineExecutor` constructor. The scope is automatically cancelled when the `Store` is disposed.
#### Forwarding Actions (v4.0)
#### Forwarding Actions (experimental, since v4.0)

Starting with MVIKotlin version 4.0, it is also possible to send `Actions` from the `Executor` using `forward(Action)` method. The `Action` automatically redirected back to the `Executor#executeAction` method. This allows reusing `Actions` easier, and also proper processing by wrapping `Stores` (like logging or time-traveling).

Expand Down

0 comments on commit f03e890

Please sign in to comment.