TypeScript error: const results = await redis.xread("block", 0, "STREAMS", "mystream", lastId);
No error: const results = await redis.xread("BLOCK", 0, "STREAMS", "mystream", lastId);
Looks like the type definitions require this to be the exact string
TypeScript error:
const results = await redis.xread("block", 0, "STREAMS", "mystream", lastId);
No error:const results = await redis.xread("BLOCK", 0, "STREAMS", "mystream", lastId);
Looks like the type definitions require this to be the exact string