The Socket.IO MongoDB emitter, allowing to communicate with a group of Socket.IO servers from another Node.js process
MIT License
Bot releases are visible (Hide)
You can now use the MongoDB emitter with a collection that is cleaned up with a TTL index:
const io = new Emitter(mongoCollection, "/", {
addCreatedAtField: true
});
Reference: https://socket.io/docs/v4/mongo-adapter/#usage-with-a-ttl-index
Added in 3b6d5a9.
Published by darrachequesne over 3 years ago
Initial release!