Skip to content

Instantly share code, notes, and snippets.

@andrew362
andrew362 / async-task-queue.js
Created August 25, 2020 07:20 — forked from paolorossi/async-task-queue.js
Javascript Queue for sequencing AJAX requests and other asynchronous tasks. Demo http://jsfiddle.net/rusci/26Dud/6/
// Queue class for serializing AJAX calls.
//
// Inspired by Raynos http://stackoverflow.com/a/4797596/1194060
//
// Queue has a public append method that expects some kind of task.
// A task is a generic function passed as callback.
// Constructor expects a handler which is a method that takes a ajax task
// and a callback. Queue expects the handler to deal with the ajax and run
// the callback when it's finished
@andrew362
andrew362 / webdev_online_resources.md
Created September 13, 2019 18:16 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)