Created
November 17, 2017 11:27
-
-
Save aludwiko/eefacb8a12abd6b495b991482ed064a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Source(List(1, 2, 3, 4)) | |
| .map(_ * 2) | |
| .withAttributes(supervisionStrategy(Supervision.resumingDecider)) | |
| .map(i => if (i == 2) throw new IllegalStateException("error")) | |
| .runWith(Sink.ignore) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment