Construct a Task
which is already rejected. Useful when you have an error
already, but need it to be available in an API which expects a Task
.
Construct a Task
which is already rejected. Useful when you have an error
already, but need it to be available in an API which expects a Task
.
Standalone function version of
Task.reject