Process.nextTick() batching utility.
var nanotick = require('nanotick')
var tick = nanotick()
var myFunc = tick(function () {
// do sync thing
})
// now resolves async
myFunc()
Create a new nanotick instance
Always resolve a function asynchronously. Uses batching under the hood to optimize performance
$ npm install nanotick