Permalink
Browse files

Add API docs to OnMessage

  • Loading branch information...
mythz committed Oct 24, 2017
1 parent c9a6d93 commit cc5f4ba416d5c904a9b483adf92a504c2e9e9dd9
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/ServiceStack.Redis/RedisPubSubServer.cs
@@ -25,7 +25,12 @@ public class RedisPubSubServer : IRedisPubSubServer
public Action OnHeartbeatReceived { get; set; }
public Action OnStop { get; set; }
public Action OnDispose { get; set; }
/// <summary>
/// Callback fired on each message received, handle with (channel, msg) => ...
/// </summary>
public Action<string, string> OnMessage { get; set; }
public Action<string> OnControlCommand { get; set; }
public Action<string> OnUnSubscribe { get; set; }
public Action<Exception> OnError { get; set; }

1 comment on commit cc5f4ba

@nathvi

This comment has been minimized.

nathvi commented on cc5f4ba Oct 24, 2017

Thanks for adding in this explicit documentation. This really helps speed up dev time.

Please sign in to comment.