RedisHubLifetimeManager<THub>.SendGroupsAsync Method

Definition

Sends an invocation message to the specified groups.

public override System.Threading.Tasks.Task SendGroupsAsync (System.Collections.Generic.IReadOnlyList<string> groupNames, string methodName, object[] args, System.Threading.CancellationToken cancellationToken = default);
public override System.Threading.Tasks.Task SendGroupsAsync (System.Collections.Generic.IReadOnlyList<string> groupNames, string methodName, object?[] args, System.Threading.CancellationToken cancellationToken = default);
override this.SendGroupsAsync : System.Collections.Generic.IReadOnlyList<string> * string * obj[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function SendGroupsAsync (groupNames As IReadOnlyList(Of String), methodName As String, args As Object(), Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

groupNames
IReadOnlyList<String>

The group names.

methodName
String

The invocation method name.

args
Object[]

The invocation arguments.

cancellationToken
CancellationToken

The token to monitor for cancellation requests. The default value is None.

Returns

A Task that represents the asynchronous send.

Applies to