Rest
...results: ResultsSomeResult
s to combine
An AsyncResult
that holds a tuple of successes or a single failure
Combines multiple functions that have 0-1 arguments return Result
s into single one that takes
an array of arguments
Rest
...results: ResultsFunctions that return Result
s to combine
A Function that takes an array of arguments and returns a Result
that holds
a tuple of successes or a single failure. If all combined functions have zero arguments
resulting function also will take zero arguments instead of an array of undefined values
Returns a function that takes a new async result, mapping any success value using the given transformation and unwrapping the produced async result.
A function that takes the success value of the result
.
A function that takes a SomeResult
value with the result of evaluating transform
as
the new failure value if result
represents a failure.
Returns a function that takes a new async result, mapping any success value using the given transformation and unwrapping the produced async result.
A function that takes the success value of the result
.
A function that takes a SomeResult
value with the result of evaluating transform
as
the new failure value if result
represents a failure.
Returns a new async result, mapping any success value using the given transformation and unwrapping the produced async result.
A function that takes the success value of the result
.
Original SomeResult
.
An AsyncResult
value with the result of evaluating transform
as the new failure
value if result
represents a failure.
Returns a new async result, mapping any success value using the given transformation and unwrapping the produced async result.
A function that takes the success value of the result
.
Original SomeResult
.
An AsyncResult
value with the result of evaluating transform
as the new failure
value if result
represents a failure.
Returns a function that takes a new async result, mapping any failure value using the given transformation and unwrapping the produced async result.
A function that takes the failure value of the result
.
A function that takes a SomeResult
value, either from the function or
the previoussuccess
.
Returns a function that takes a new async result, mapping any failure value using the given transformation and unwrapping the produced async result.
A function that takes the failure value of the result
.
A function that takes a SomeResult
value, either from the function or
the previoussuccess
.
Returns a new async result, mapping any failure value using the given transformation and unwrapping the produced async result.
A function that takes the failure value of the result
.
Original SomeResult
.
An AsyncResult
value, either from the function or the previous success
.
Returns a new async result, mapping any failure value using the given transformation and unwrapping the produced async result.
A function that takes the failure value of the result
.
Original SomeResult
.
An AsyncResult
value, either from the function or the previous success
.
Returns a function that takes a new async result, mapping any success value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a success.
A function that takes the success value of result
.
A function that takes a SomeResult
value with the result of evaluating transform
as
the new success value if result
represents a success.
Returns a function that takes a new async result, mapping any success value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a success.
A function that takes the success value of result
.
A function that takes a SomeResult
value with the result of evaluating transform
as
the new success value if result
represents a success.
Returns a new async result, mapping any success value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a success.
A function that takes the success value of result
.
Original SomeResult
.
An AsyncResult
value with the result of evaluating transform
as the new success
value if result
represents a success.
Returns a new async result, mapping any success value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a success.
A function that takes the success value of result
.
Original SomeResult
.
An AsyncResult
value with the result of evaluating transform
as the new success
value if result
represents a success.
Returns a function that takes a new async result, mapping any success value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a success.
An async function that takes the success value of result
.
A function that takes a SomeResult
value with the result of evaluating transform
as
the new success value if result
represents a success.
Returns a function that takes a new async result, mapping any success value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a success.
An async function that takes the success value of result
.
A function that takes a SomeResult
value with the result of evaluating transform
as
the new success value if result
represents a success.
Returns a new async result, mapping any success value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a success.
An async function that takes the success value of result
.
Original SomeResult
.
An AsyncResult
value with the result of evaluating transform
as the new success
value if result
represents a success.
Returns a new async result, mapping any success value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a success.
An async function that takes the success value of result
.
Original SomeResult
.
An AsyncResult
value with the result of evaluating transform
as the new success
value if result
represents a success.
Returns a function that takes an async result, mapping any failure value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a failure.
A function that takes the failure value of the result
.
A function that takes SomeResult
value with the result of evaluating transform
as
the new failure value if result
represents a failure.
Returns a function that takes an async result, mapping any failure value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a failure.
A function that takes the failure value of the result
.
A function that takes SomeResult
value with the result of evaluating transform
as
the new failure value if result
represents a failure.
Returns a new async result, mapping any failure value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a failure.
A function that takes the failure value of the result
.
Original SomeResult
.
An AsyncResult
value with the result of evaluating transform
as the new failure
value if result
represents a failure.
Returns a new async result, mapping any failure value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a failure.
A function that takes the failure value of the result
.
Original SomeResult
.
An AsyncResult
value with the result of evaluating transform
as the new failure
value if result
represents a failure.
Returns a function that takes an async result, mapping any failure value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a failure.
An async function that takes the failure value of the result
.
A function that takes SomeResult
value with the result of evaluating transform
as
the new failure value if result
represents a failure.
Returns a function that takes an async result, mapping any failure value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a failure.
An async function that takes the failure value of the result
.
A function that takes SomeResult
value with the result of evaluating transform
as
the new failure value if result
represents a failure.
Returns a new async result, mapping any failure value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a failure.
An async function that takes the failure value of the result
.
Original SomeResult
.
An AsyncResult
value with the result of evaluating transform
as the new failure
value if result
represents a failure.
Returns a new async result, mapping any failure value using the given transformation.
Use this method when you need to transform the value of an AsyncResult
value when it represents a failure.
An async function that takes the failure value of the result
.
Original SomeResult
.
An AsyncResult
value with the result of evaluating transform
as the new failure
value if result
represents a failure.
Unwraps result and transforms success and failure values or returns a default value if needed transform is not provided
Success & failure transformers and default value
A function that takes a SomeResult
and returns a promise with transformed wrapped
value or default value
Unwraps result and transforms success and failure values or returns a default value if needed transform is not provided
Success & failure transformers and default value
A SomeResult
to unwrap
A promise with transformed wrapped value or default value
Unwraps result and transforms success and failure values or returns a default value if needed transform is not provided
Additional siganture for generic results
Success & failure transformers and default value
A function that takes a SomeResult
and returns a promise with transformed wrapped
value or default value
Unwraps result and transforms success and failure values or returns a default value if needed transform is not provided
Additional siganture for generic results
Success & failure transformers and default value
A promise with transformed wrapped value or default value
Generated using TypeDoc
Combines multiple
SomeResult
s into singleAsyncResult