Skip to content

Instantly share code, notes, and snippets.

@vkareh
Created Aug 15, 2014
Embed
What would you like to do?
(a)synchronous noop function for node.js
module.exports = function(callback) {
if (callback) {
process.nextTick(callback);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment