IAzureCosmosDbRedisUnsubscribe Method

Unsubscribes from a Redis channel.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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