Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit cc5f4ba

Browse files
committed
Add API docs to OnMessage
1 parent c9a6d93 commit cc5f4ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ServiceStack.Redis/RedisPubSubServer.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ public class RedisPubSubServer : IRedisPubSubServer
2525
public Action OnHeartbeatReceived { get; set; }
2626
public Action OnStop { get; set; }
2727
public Action OnDispose { get; set; }
28+
29+
/// <summary>
30+
/// Callback fired on each message received, handle with (channel, msg) => ...
31+
/// </summary>
2832
public Action<string, string> OnMessage { get; set; }
33+
2934
public Action<string> OnControlCommand { get; set; }
3035
public Action<string> OnUnSubscribe { get; set; }
3136
public Action<Exception> OnError { get; set; }

0 commit comments

Comments
 (0)