> > If the modules aren't patched to be domain-aware, then there's no way to > ensure that the callback is evaluated in the correct domain. How do you > think that would work? > > F >
To use my particular example - I've got a pool of node-mysql connections. Ultimately node-mysql is built on top of the node network socket API so anytime a connection object fires a query off to the database it's doing so with a low-level call to part of the node API - in the same way as fs.read() or anything else. If domains can persist when I just call fs.read() or process.nextTick() - without having done any domain.add()s - then they should also work when node-mysql does a network call. -- 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
