You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-07-31 05:44:24 +03:00
fix some types
This commit is contained in:
@ -122,7 +122,11 @@ This pattern works especially well for blocking commands—such as `BLPOP` and `
|
||||
```typescript
|
||||
import { commandOptions } from 'redis';
|
||||
|
||||
const blPopPromise = client.blPop(commandOptions({ isolated: true }), 'key', 0);
|
||||
const blPopPromise = client.blPop(
|
||||
commandOptions({ isolated: true }),
|
||||
'key',
|
||||
0
|
||||
);
|
||||
|
||||
await client.lPush('key', ['1', '2']);
|
||||
|
||||
|
Reference in New Issue
Block a user