/** * Create a new pure promise, that is, a promise with a constant value from the start. * * @param a the value for the promise */ public static <A> Promise<A> pure(final A a) { return FPromiseHelper.pure(a); }