Created
April 9, 2011 19:08
-
-
Save thejh/911680 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
# How do I add the second params to a method args after the first one being a function? | |
timeout = setTimeout(function() { | |
sys.puts('Timeout') | |
tweetEmitter.removeListener(listener) | |
}, 10000) | |
timeout = setTimeout -> | |
sys.puts 'Timeout' | |
tweetEmitter.removeListener listener | |
, 10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment