Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

setTimeout

function fastFunction (done) {
  setTimeout(function () {
    done()
  }, 100)
}

function slowFunction (done) {
  setTimeout(function () {
    done()
  }, 300)
}
Source by blog.risingstack.com #
 
PREVIOUS NEXT
Tagged: #setTimeout
ADD COMMENT
Topic
Name
6+6 =