0.0.12 • Published 10 years ago

runlater v0.0.12

Weekly downloads
4
License
BSD-2-Clause
Repository
github
Last release
10 years ago

runlater.js runs code asynchronously at a later time. This library is used specifically for cleanup in mojo.js. Build Status

var runLater = require("runlater")(20);

// called after 1 ms in batches of 20 synchronous methods. 
// I.E: below runs in 2 batches of 20 (40).
for(var i = 40; i--;)
  runLater(function () {
    
  });
0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.8

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago