https://github.com/zefer/jobqueue
A JavaScript utility for queuing-up and running jobs, useful for background tasks
https://github.com/zefer/jobqueue
Last synced: about 1 year ago
JSON representation
A JavaScript utility for queuing-up and running jobs, useful for background tasks
- Host: GitHub
- URL: https://github.com/zefer/jobqueue
- Owner: zefer
- Created: 2010-10-18T10:19:27.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-10-20T15:02:38.000Z (over 15 years ago)
- Last Synced: 2025-01-11T11:35:53.993Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 97.7 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
JobQueue
--------
This is a simple way to run a batch of background tasks, in JavaScript. The concept is basically:
1. Create an instance of the JobQueue class
2. Create lots of instances of the Job class, and add them to the JobQueue
3. Run the JobQueue
Could be used to:
- preload images, AJAX, or other http requests
- run a sequence of AJAX requests (e.g. for gathering lots of data)