Table of Contents

Interface IQueuesClient

Namespace
YandexTracker.Endpoints
Assembly
YandexTracker.dll

The organization's queues.

public interface IQueuesClient

Methods

GetAllAsync(CancellationToken)

Lists every queue of the organization, page by page.

IAsyncEnumerable<Queue> GetAllAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the listing.

Returns

IAsyncEnumerable<Queue>

The queues.

GetAsync(string, CancellationToken)

Gets a queue by its key.

Task<Queue> GetAsync(string key, CancellationToken cancellationToken = default)

Parameters

key string

The queue key, e.g. TEST.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<Queue>

The queue.