Description

Returns a promise that is fulfilled after the given number of milliseconds.

Signature


calli.sleep(milliseconds)
Parameter Description
milliseconds Number of milliseconds before this promises is fulfilled

Example


calli.sleep(10000).then(function(){
  alert("It has been at least ten seconds");
});