lib: simplify nextTick() usage
authorBrian White <mscdex@mscdex.net>
Mon, 4 May 2015 18:40:25 +0000 (14:40 -0400)
committerBrian White <mscdex@mscdex.net>
Mon, 25 May 2015 14:14:18 +0000 (10:14 -0400)
commit5abd4ac079b390467360d671a186a061b5aba736
tree5965f0c339836e6e50da1e44dd16f91746e2cf8c
parenta74c2c94584aea67276ee15a67d9165bfd4ee9a5
lib: simplify nextTick() usage

This commit removes unnecessary nextTick() closures and adds some
shared nextTick() callbacks for better re-use.

PR-URL: https://github.com/nodejs/io.js/pull/1612
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
lib/_stream_writable.js
lib/_tls_legacy.js
lib/_tls_wrap.js
lib/dgram.js
lib/dns.js
lib/net.js
lib/timers.js