find_any
Description:
Returns an optional describing the any element that matches the given predicate, or an empty optional if not found.
This is a short-circuiting terminal operation.
Parameters:
pred |
a non-interfering and stateless predicate |
Returns:
a future of an optional describing the any element that matches the given, or an empty optional if not found. |