IAzureCosmosDbRedisUnsubscribe Method

Unsubscribes from a Redis channel.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task RedisUnsubscribe(
	RedisChannel channel,
	Func<string?, Task> func,
	CommandFlags commandFlags = CommandFlags.None
)

Parameters

channel  RedisChannel
Redis channel to unsubscribe. 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

Return Value

Task
Task completion

See Also