Closed iMacTia closed 1 year ago
Add support for chaining with #and_then.
#and_then
Chaining can be useful when we want to simplify a sequence of method calls that return Typed::Result and avoid to check for success? or failure? at every step. See #9 for more details and examples.
Typed::Result
success?
failure?
Fixes #9
@maxveldink thank you for your review 🙏 I've addressed all points and updated the CHANGELOG.
CHANGELOG
This should now be ready for a final review 🙌
Summary
Add support for chaining with
#and_then
.Chaining can be useful when we want to simplify a sequence of method calls that return
Typed::Result
and avoid to check forsuccess?
orfailure?
at every step. See #9 for more details and examples.Fixes #9