# Short circuit vavr Stream

(, de)

If you are in a Stream, have to deal with Exceptions and still want to see which elements were processed successfully, short circuiting makes sense.

Stream<S3ObjectSummary> files = s3Service.listFiles();

files
.map(S3ObjectSummary::getKey)