Table of Contents

Class AsyncQueue<T>

Namespace
Coherence.Common
Assembly
Coherence.Common.dll
public class AsyncQueue<T>

Type Parameters

T
Inheritance
AsyncQueue<T>

Constructors

AsyncQueue()

public AsyncQueue()

Methods

DequeueAsync(CancellationToken)

public ValueTask<T> DequeueAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

ValueTask<T>

Enqueue(T)

public void Enqueue(T item)

Parameters

item T