joyent/node — Issue #2178: [domains] allow hooking into entering and leaving domains?
Author: thejh
Created: 2011-11-24 14:30:48+00:00
State: open

Hello,
I think that it might be good to have something like `domainEntered` and `domainLeft` events. I do realize that those event emitters would become very hot code, but they'd allow things like having context-depending globals or finding out which user causes the RAM to get eaten up.