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.
2 parents 9478dfa + c9db503 commit 0fc71e6Copy full SHA for 0fc71e6
src/redis-pubsub.ts
@@ -7,7 +7,7 @@ type OnMessage<T> = (message: T) => void;
7
type DeserializerContext = { channel: string, pattern?: string };
8
9
export interface PubSubRedisOptions {
10
- connection?: RedisOptions;
+ connection?: RedisOptions | string;
11
triggerTransform?: TriggerTransform;
12
connectionListener?: (err: Error) => void;
13
publisher?: RedisClient;
0 commit comments