[ 原始碼: node-emittery ]
套件:node-emittery(1.0.1-1)
Nodejs simple and modern async event emitter
Emitting events asynchronously is important for production code where you want the least amount of synchronous operations. Since JavaScript is single-threaded, no other code can run while doing synchronous operations. For Node.js, that means it will block other requests, defeating the strength of the platform, which is scalability through async. In the browser, a synchronous operation could potentially cause lags and block user interaction.
emittery solves this providing a simple but powerful API.