Table of Contents

Interface IShardedGatewayEventHandler<T>

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll
public interface IShardedGatewayEventHandler<T> : IShardedGatewayEventHandlerBase

Type Parameters

T
Inherited Members

Methods

HandleAsync(GatewayClient, T)

Handles the event.

ValueTask HandleAsync(GatewayClient client, T arg)

Parameters

client GatewayClient

The GatewayClient that represents the shard that received the event.

arg T

The event argument.

Returns

ValueTask

A ValueTask that represents the asynchronous operation.