Skip to content

Commit 31affaf

Browse files
committed
PAN-2194 Add another constructor overload for the subscriber
1 parent 75de64c commit 31affaf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Learning.MessageQueue/RedisEventSubscriber.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ public RedisEventSubscriber(IRedisClient redis, string applicationName, string e
2828
{
2929
}
3030

31+
public RedisEventSubscriber(IRedisClient redis, ISubscriber sub, string applicationName, string environment)
32+
: this(redis, sub, applicationName, environment, null)
33+
{
34+
}
35+
3136
public RedisEventSubscriber(
3237
IRedisClient redisClient,
3338
string applicationName,

0 commit comments

Comments
 (0)