Share via


AsyncQueue<T>.OnEnqueued(T, Boolean) Method

Definition

Invoked when a value is enqueued.

protected:
 virtual void OnEnqueued(T value, bool alreadyDispatched);
protected:
 virtual void OnEnqueued(T value, bool alreadyDispatched);
 virtual void OnEnqueued(T value, bool alreadyDispatched);
protected virtual void OnEnqueued (T value, bool alreadyDispatched);
abstract member OnEnqueued : 'T * bool -> unit
override this.OnEnqueued : 'T * bool -> unit
Protected Overridable Sub OnEnqueued (value As T, alreadyDispatched As Boolean)

Parameters

value
T

The enqueued value.

alreadyDispatched
Boolean

true if the item will skip the queue because a dequeuer was already waiting for an item; false if the item was actually added to the queue.

Applies to