You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adds `asyncFlatMap` for when `transform` has async components.
* Adds `flatRoute` for converting "completion blocks" (AKA "continuations") between result types.
* Adds `asyncFlatRoute` for doing that when the `adaptor` has async components.
* Also deprecates Result initializers. See also: Issue #4.
* Sprinkles in some documentation.
* Adds `asyncFlatMap` for when `transform` has async components.
* Adds `flatRoute` for converting "completion blocks" (AKA "continuations") between result types.
* Adds `asyncFlatRoute` for doing that when the `adaptor` has async components.
* Adds simple `isSuccess` and `isFailure` predicates for avoiding case statements.
* Also deprecates Result initializers. See also: Issue #4.
* Sprinkles in some documentation.
Also, result should probably be move to a different library, but:
creates a
Result<MyError.error>
which is probably unexpected. To work properly, the generic type must be explicit:We could fix this my making it less of a wrapper and providing argument labels:
But I also rather like the AlamoFire solution of taking a (throwing) closure:
The text was updated successfully, but these errors were encountered: