Table of Contents

Delegate AsyncEventHandler<TEventArgs>

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

An asynchronous event handler.

public delegate ValueTask AsyncEventHandler<in TEventArgs>(object? sender, TEventArgs args)

Parameters

sender object

The sender of the event.

args TEventArgs

Event arguments.

Returns

ValueTask

A value task whose completion signals handling is finished.

Type Parameters

TEventArgs

The type of event arguments.