Table of Contents

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

userId string

The target user identifier.

payload T

The notification payload.

Returns

Task

A task that completes after subscribed handlers have been invoked.