Sure I read about domain two weeks ago, and maybe I forgot, so I search about process.domain in this page: *http://nodejs.org/api/process.html*
But it is not documented there. I think you need to write it in the process html page either. On Thursday, March 6, 2014 8:46:24 PM UTC+2, Nathan Rajlich wrote: > > Did you read the docs for domain.enter()[0]? It states that it sets > `process.domain` to the active domain when called. > > [0]: http://nodejs.org/api/domain.html#domain_domain_enter > > > On Thu, Mar 6, 2014 at 3:25 AM, ami <[email protected] <javascript:>>wrote: > >> Some think like: >> >> "process.domain" >> >> I want to do. >> >> in main.js >> var x=domain.create(); >> >> in a moudle. >> process.domain.on('error') >> of >> process.domain.trigger >> >> But I don't know the active domain. >> >> http://nodejs.org/api/domain.html >> >> >> -- >> -- >> 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]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
