Add process.nextTick()
authorRyan Dahl <ry@tinyclouds.org>
Mon, 18 Jan 2010 18:27:27 +0000 (10:27 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 18 Jan 2010 18:32:36 +0000 (10:32 -0800)
commit8abeffa9ea5626e81d2d9d0164b2a43ea458a0b8
treedb3a7b53aeb4823e5f55038e3433a036009473c8
parentaeb7d6d168204d5d37a7dd9fc4f9dc78a0e83a08
Add process.nextTick()

This is a replacement for the common hack:

  setTimeout(cb, 0);

It's much more efficient.
doc/api.txt
lib/multipart.js
src/node.js
test/mjsunit/test-next-tick.js [new file with mode: 0644]