Created
June 13, 2019 22:28
-
-
Save Whateverable/3b49450eb60355a6b8c0f42768a63da4 to your computer and use it in GitHub Desktop.
evalable6
This file contains 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
my Supplier::Preserving $msg .= new; start { react { whenever $msg.Supply { .say; if (False, False, False, True).pick { say "cannot write to closed socket"; die "oh no" } } } }; for ^20 { $msg.emit($_) }; $msg.done; sleep 2; |
This file contains 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
(exit code 1) | |
0 | |
Unhandled exception in code scheduled on thread 4 | |
cannot write to closed socket | |
A react block: | |
in block at /tmp/GStItOSS9w line 1 | |
Died because of the exception: | |
oh no | |
in block at /tmp/GStItOSS9w line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment