Releases: fullstackers/bus.io
Performance updates and singleton support
The server can behave like a singleton now, so in the event, you require bus.io from multiple files they will be using the shared instance. As far as performance goes, we added in the Job removal that Kue
requires. This means each message after processed will be removed from redis.
Performance updates and better Error handling support.
The core component receiver just went through some over hauling. The receiver is much faster and the memory footprint has been reduced significantly compared to the previous version.
Error handling can be achieved like this
bus.in(function (err, msg, sock, next) {
// handle errors incoming
});
bus.on(function (err, msg, next) {
// handle errors ongoing
});
bus.out(function (err, msg, sock, next) {
// handle errors outgoing
});
API updates
The API has been updated to simplify creating and delivering messages.
Dependency updates
Updated dependencies
Added #unalias
You can now un-alias a socket to an actor.
bus.unalias(sock, 'some alias');
I also fixed a bug I introduced from v0.4.0.
Dependency update
Updated dependencies.
bus.io-messages
can now read in Message
instances.
Depedency update
Updated dependencies.
bus.io
The bus.io components have been refactored out of the main bus.io module.