UNPKG
async.util.nexttick
Version:
latest (0.5.2)
0.5.2
0.5.1
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.0
async nexttickhelper method as module.
github.com/async-js/async.util
async-js/async.util
async.util.nexttick
/
index.js
5 lines
(3 loc)
•
188 B
JavaScript
View Raw
1
2
3
4
5
'use strict'
;
var
_nexttick =
typeof
process ===
'object'
&&
typeof
process.
nextTick
===
'function'
&& process.
nextTick
;
module
.
exports
= _nexttick ||
require
(
'async.util.setimmediate'
);