Created
September 11, 2019 20:57
-
-
Save Whateverable/21e1d225f6c792453c48ccf906454b34 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 $s .= new; react { whenever $s.Supply -> Promise $p { whenever $p { say 'kept' } } LEAVE { my Promise $p .= new; $p.keep; $s.emit: $p; $p .= new; $p.keep; $s.emit: $p; sleep 3; done } } } |
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) | |
===SORRY!=== Error while compiling /tmp/VhtItmcZBO | |
Strange text after block (missing semicolon or comma?) | |
at /tmp/VhtItmcZBO:1 | |
------> romise $p { whenever $p { say 'kept' } }⏏ LEAVE { my Promise $p .= new; $p.keep; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment