public <G, B> OrFuture<G, B> badFuture(B bad) {
    return this.<G, B>promise().failure(bad).future();
  }
public < G , B > OrFuture < G , B > badFuture ( B bad ) { return this . < G , B > promise ( ) . failure ( bad ) . future ( ) ; }
Creates an OrFuture that is already completed with a {@link Bad}.

@param bad the failure value
@param <G> the success type
@return an instance of OrFuture