schedule(waitTime,func) , method of utils

Calls a function in the future.

Parameters:
name type description
waitTime int in milliseconds, if zero then immediately run the function

DEPRECATED, use setTimeout instead.

See all methods of the api.