Method NotifyAsync
- Namespace
- Oscova.Agents.Notifications
- Assembly
- Oscova.Agents.dll
NotifyAsync(string, T)
Sends a notification to one user and all global subscribers.
public Task NotifyAsync(string userId, T payload)Parameters
userIdstring-
The target user identifier.
payloadT-
The notification payload.
Returns
- Task
-
A task that completes after subscribed handlers have been invoked.