We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5926b49 commit c9db503Copy full SHA for c9db503
src/redis-pubsub.ts
@@ -6,7 +6,7 @@ type RedisClient = Redis | Cluster;
6
type OnMessage<T> = (message: T) => void;
7
8
export interface PubSubRedisOptions {
9
- connection?: RedisOptions;
+ connection?: RedisOptions | string;
10
triggerTransform?: TriggerTransform;
11
connectionListener?: (err: Error) => void;
12
publisher?: RedisClient;
0 commit comments