Table of Contents

Delegate BulkRequest<TKey, TValue>

Namespace
GuildWars2
Assembly
GW2SDK.dll

A method that takes a set of keys and retrieves the corresponding values.

public delegate Task<IReadOnlyCollection<TValue>> BulkRequest<in TKey, TValue>(IEnumerable<in TKey> keys, CancellationToken cancellationToken = default)

Parameters

keys IEnumerable<TKey>

The keys for which to retrieve the values.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<IReadOnlyCollection<TValue>>

The collection of values found.

Type Parameters

TKey

The data type of the key.

TValue

The data type of the values.