A container for methods of Futures.
A container for methods of Futures.
Converts a Future into a Promise.
Returns a textual representation of the Future.
Returns a textual representation of the Future.
Part of the Applicative instance for Fantasy Land 1.x. See the apply
method for details.
Part of the Applicative instance for Fantasy Land 2.x+. See the apply
method for details.
Part of the Bifunctor instance for Fantasy Land 2.x+. See the bimap
method for details.
Part of the Monad instance for Fantasy Land 2.x+. See the chain
method for details.
Part of the Functor instance for Fantasy Land 2.x+. See the map
method for details.
A list of visitors to be invoked when the state of the future changes.
The current state of the Future.
Limited pattern matching for futures.
Adds a visitor to the Future, which will be invoked when the Future's state changes.
Transforms a failed future into a new future.
Transforms a failed future into a new future.
Inverts the state of a Future: successes become failures, failures become successes.
Transforms the succesful value of a future by using a function stored in another future.
Transforms both successful and failure values in a Future, without touching its state.
Transforms a Future's successful value along with its state.
Transforms the successful value of a Future, without touching its state.
Transforms failure values in a Future without touching its state.
Models the eventual result of asynchronous computations.