IAzureCosmosDbRedisSubscribe Method
Subscribes to a Redis channel; mostly used to allow front-end users to receive updates from the Event Handler or the Device Receiver regarding
events they need to know about.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task RedisSubscribe(
RedisChannel channel,
Func<string?, Task> func,
CommandFlags commandFlags = CommandFlags.None
)
- channel RedisChannel
- Redis channel to subscribe to; may be a pattern, doesn't have to be literal.
- func FuncString, Task
- Method to execute when the task invokes.
- commandFlags CommandFlags (Optional)
- Behaviour markers used for this subscription
TaskTask completion