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.
pred |
a non-interfering and stateless predicate |
a future of an optional describing the any element that matches the given, or an empty optional if not found. |