Skip to content

Introducing asyncAndThen Method!

Choose a tag to compare

@supermacro supermacro released this 16 Jun 14:01
· 674 commits to master since this release

This release introduces a new API method called asyncAndThen.

asyncAndThen is the asynchronous version of andThen.

Rather than accepting a (val: T) => Result<U, E>, asyncAndThen accepts a (val: T) => ResultAsync<U, E>.

Thank you to @jsmith and @paduc for their help in finding the bug reported in #53 and then implementing the fix / new API.