KestrunContext.BroadcastToGroup method
Synchronous wrapper for BroadcastToGroupAsync.
public bool BroadcastToGroup(string groupName, string method, object? message,
CancellationToken cancellationToken = default)
| parameter | description |
|---|---|
| groupName | The name of the group to broadcast the message to. |
| method | The name of the method to invoke on the client. |
| message | The message to broadcast. |
| cancellationToken | Optional: Cancellation token. |
See Also
- record KestrunContext
- namespace Kestrun.Models