use the Joyent EventEmitter implementation