Validates a Future
using the passed validation functions.
Validates a Future
using the passed validation functions.
See the main documentation for trait FutureSugar
for more detail and examples.
the first validation function to apply
the subsequent validation functions to apply, if any
a "validated" Future
, either a Future
with the same value, or
if validation failed, a failed Future
containing a ValidationFailedException
.
Implicit class that adds a
validation
method toFuture
, which takes one or more functions that validate theFuture
's value.See the main documentation for trait
FutureSugar
for more detail and examples.