I'm realizing from the questions that a lot of people have asked who reviewed the code that the domains documentation is somewhat less complete than it ought to be. http://nodejs.org/docs/v0.7.8/api/domain.html
It would be great to get more examples and explanation in there. I find it's easiest to understand how they work by seeing them in action: https://gist.github.com/2385382 https://github.com/joyent/node/blob/master/test/simple/test-domain.js https://github.com/joyent/node/blob/master/test/simple/test-domain-multi.js https://github.com/joyent/node/blob/master/test/simple/test-domain-http-server.js On Wed, Apr 18, 2012 at 10:51, Brad Carleton <[email protected]> wrote: > Great work! I am excited about the new domains feature. I think > domains will help simplify error handling in node. > > On Apr 18, 12:42 pm, Isaac Schlueter <[email protected]> wrote: >> 2012.04.18, Version 0.7.8, (unstable) >> >> * Upgrade V8 to 3.9.24.9 >> >> * Upgrade OpenSSL to 1.0.0f >> >> * Upgrade npm to 1.1.18 >> >> * Show licenses in Binary installers >> >> * Domains (isaacs) >> >> * readline: rename "end" to "close" (Nathan Rajlich) >> >> * tcp: make getsockname() return address family as string (Shigeki Ohtsu) >> >> * http, https: fix .setTimeout() (ssuda) >> >> * os: add cross platform EOL character (Mustansir Golawala) >> >> * typed arrays: unexport SizeOfArrayElementForType() (Aaron Jacobs) >> >> * net: honor 'enable' flag in .setNoDelay() (Ben Noordhuis) >> >> * child_process: emit error when .kill fails (Andreas Madsen) >> >> * gyp: fix 'argument list too long' build error (Ben Noordhuis) >> >> * fs.WriteStream: Handle modifications to fs.open (isaacs) >> >> * repl, readline: Handle newlines better (Nathan Rajlich, Nathan Friedly) >> >> * build: target OSX 10.5 when building on darwin (Nathan Rajlich) >> >> * Fix #3052 Handle errors properly in zlib (isaacs) >> >> * build: add support for DTrace and postmortem (Dave Pacheco) >> >> * core: add reusable Slab allocator (Ben Noordhuis) >> >> Source Code:http://nodejs.org/dist/v0.7.8/node-v0.7.8.tar.gz >> >> Windows Installer:http://nodejs.org/dist/v0.7.8/node-v0.7.8.msi >> >> Windows x64 Files:http://nodejs.org/dist/v0.7.8/x64/ >> >> Macintosh Installer (Universal):http://nodejs.org/dist/v0.7.8/node-v0.7.8.pkg >> >> Other release files:http://nodejs.org/dist/v0.7.8/ >> >> Website:http://nodejs.org/docs/v0.7.8/ >> >> Documentation:http://nodejs.org/docs/v0.7.8/api/ > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
