Created
August 29, 2015 09:41
-
-
Save hoelzro/73404929704270e26891 to your computer and use it in GitHub Desktop.
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
use v6; | |
sub do-stuff { | |
my $p = start { | |
say 'here'; | |
return; | |
}; | |
say 'before wait'; | |
await $p; | |
say 'after wait'; | |
} | |
do-stuff(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment