-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Provide a test for emitting and reply A common combo of effects * "and" should always call its RHS The RHS will determine what to do with the result. * Simplify with `then_reply` `.and_then_reply` has been simplified with a `then_reply` which will only be called when the previous result was successful, and only the state is available to make a decision with. The closure is deliberately not async as it commonly isn't require for this use case. More complex reply scenarios can still be achieved by using the all-flexible `.and_then` combinator. * Simplify the and_then_emit_event combinator Done now in a similar fashion to the `then_reply` combinator. * Doco
- Loading branch information
Showing
1 changed file
with
215 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters