UNPKG
concurrent
Version:
latest (0.3.2)
0.3.2
0.3.1
0.3.0
0.2.2
0.2.1
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
Promises/A+ with Scala awesomeness
pspeter3/concurrent
concurrent
/
lib
/
next.js
10 lines
(9 loc)
•
276 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** * Executes a function asynchronously. Prefers setImmediate but will fallback to * process.nextTick for older versions of node. * *
@type
{Function} *
@private
*/
var
next
=
typeof setImmediate ===
'function'
? setImmediate : process.nextTick;
module
.
exports
= next;