Constructs a new redeemable Promise which has not been redeemed yet.
Synonym for PurePromise.
Synonym for PurePromise.apply
Converts a traversable type M containing a Promise, into a Promise containing type M.
Converts a traversable type M containing a Promise, into a Promise containing type M. For example you could convert a List of Promise into a Promise of a List.
the traversable that's being converted into a promise
a Promise that's the result of the transformation
Converts an optional promise into a promise containing an optional value.
Converts an optional promise into a promise containing an optional value. i.e. if the original option is None, you get a Future[Option[A]] with a value of None, if the original option is Some, you get a Future[Option[A]] containing Some(A). Called "sequence" because its more general form (see below) can operate on multi-element collections such as lists.
Converts an either containing a Promise as its Right into a Promise of an Either with a plain (not-in-a-promise) value on the Right.
Converts an either containing a Promise as its Right into a Promise of an Either with a plain (not-in-a-promise) value on the Right.
a promise with Either[A,B]
Converts an either containing a Promise on both Left and Right into a Promise of an Either with plain (not-in-a-promise) values.
Constructs a promise which will contain value "message" after the given duration elapses.
Constructs a promise which will contain value "message" after the given duration elapses. This is useful only when used in conjunction with other Promises.
a timer promise
Constructs a promise which will contain value "message" after the given duration elapses.
Constructs a promise which will contain value "message" after the given duration elapses. This is useful only when used in conjunction with other Promises
message to be displayed
duration for the timer promise
a timer promise
Constructs a promise which will contain value "message" after the given duration elapses.
Constructs a promise which will contain value "message" after the given duration elapses. This is useful only when used in conjunction with other Promises
message to be displayed
duration for the timer promise
a timer promise
useful helper methods to create and compose Promises