Skip to content

JlnWntr/scheduler.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scheduler.js

Chain your AJAX requests!

Example:

 var scheduler = new Scheduler()
 
scheduler.add(                 // 1. request 
  "https://api.github.com/zen", // URL
  alert(text),                  // callback 
  "GET"                         // method
)

scheduler.add()                // 2. request
scheduler.add()                // 3. request and so on