@ SafeVarargs public final < G , ERR > OrFuture < G , Every < ERR > > when ( OrFuture < ? extends G , ? extends Every < ? extends ERR > > or , Function < ? super G , ? extends Validation < ERR > > ... validations ) { OrPromise < G , Every < ERR > > promise = promise ( ) ; or . onComplete ( o -> promise . complete ( Accumulation . when ( o , validations ) ) ) ; return promise . future ( ) ; }
Enables further validation on an existing accumulating OrFuture by passing validation functions .