Utils.interval(interval , handler)

Calls a function every x seconds.
译:每x秒调用一个函数。

Utils.interval 2, ->
    print "hello"

# Output: "hello" 
# Output: "hello" 
# Output: "hello" 
# Output: "hello" etc...

results matching ""

    No results matching ""