static <RESULT, ERR> OrFuture<RESULT, Every<ERR>> withPromise(ExecutionContext<?> executionContext,
                                                                Consumer<? super OrPromise<RESULT, Every<ERR>>> consumer) {
    OrPromise<RESULT, Every<ERR>> promise = executionContext.promise();
    consumer.accept(promise);
    return promise.future();
  }
static < RESULT , ERR > OrFuture < RESULT , Every < ERR > > withPromise ( ExecutionContext < ? > executionContext , Consumer < ? super OrPromise < RESULT , Every < ERR > > > consumer ) { OrPromise < RESULT , Every < ERR > > promise = executionContext . promise ( ) ; consumer . accept ( promise ) ; return promise . future ( ) ; }
---------------------------------- HELPERS -------------------------------------------------