Created
April 21, 2012 15:22
-
-
Save marcusramberg/2437709 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
~/Source/MuEvent/ [master] perl6 --doc lib/MuEvent.pm | |
module MuEvent | |
Event-driven programming in Perl 6 | |
sub timer(Callable :&cb!, :$after!, :$interval, :%params) | |
Add an event run after a certain amount of time | |
sub socket(Callable :&cb!, :$socket!, :$poll, :%params) | |
Add an IO::Socket to observe | |
sub idle(Callable :&cb!, :%params) | |
Add an event to be run when event loop is idle | |
sub run() | |
Run the event loop | |
~/Source/MuEvent/ [master] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment