Table of Contents

Struct CoalescingQueueNode<TContainer, TValue>

Namespace
CounterpointCollective.Collections
Assembly
CounterpointCollective.CoalescingQueue.dll

Represents a node in a CoalescingQueue for an item of type TValue.

public readonly ref struct CoalescingQueueNode<TContainer, TValue> where TContainer : struct

Type Parameters

TContainer
TValue

The type of the item managed by this queue node.

Inherited Members

Properties

Value

public ref TValue Value { get; }

Property Value

TValue

An instance of TValue representing the node's value.

Methods

Dispose()

Marks this node as completed.

public void Dispose()

Remarks

If the node's value has been claimed, calling Dispose() will eventually dispatch it. If the value has not been claimed, nothing is dispatched.

MarkForDispatch()

Causes the value to be dispatched after Dispose() is called.

public void MarkForDispatch()