joyent/node — pull request #3845 by tjfontaine (2012-08-08 02:18:57+00:00)
Title: implement setImmediate

This is a basic implementation of setImmediate from https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/setImmediate/Overview.html

I followed the spirit of the async queue, yielding after each iteration. I did not implement the integer id but followed the opaque object from the other timer types.

Tests and documentation will be forthcoming.