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.
Installed Size: 886.8 kB
Architectures: all