Features
import { Emitter } from "@socket.io/redis-emitter";
import { createClient } from "redis";
const redisClient = createClient();
await redisClient.connect();
const io = new Emitter(redisClient, {
parser: {
encode(msg) {
return JSON.stringify(msg);
}
}
});
Links
- Diff: 5.0.0...5.1.0