0.2.1 • Published 12 years ago

asyncall v0.2.1

Weekly downloads
17
License
-
Repository
github
Last release
12 years ago

asyncall.js

Asynchronous function call on Node or Browser.

Usage

###on Browser.

<script type="text/javascript" src="asyncall.min.js"></script>
asyncall(function () {
    alert(1 + 2);
});

###on Node.

var asyncall = require('asyncall');

asyncall(function () {
    alert(1 + 2);
});

Installation

$ npm install asyncall

Technology

  • setImmediate (IE 10, Node >= v0.9)
  • process.nextTick (Node <= v0.8)
  • MessageChannel (WebKit)
  • setTimeout (Legacy)
0.2.1

12 years ago

0.2.0

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago