AsyncQueue<T>.IsCompleted Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the queue is both empty and had Complete() invoked.
public:
property bool IsCompleted { bool get(); };
public:
property bool IsCompleted { bool get(); };
public bool IsCompleted { get; }
member this.IsCompleted : bool
Public ReadOnly Property IsCompleted As Boolean
Property Value
true
if the queue has completed, otherwise false
.
Remarks
This is arguably redundant with Completion.IsCompleted, but this property won't cause the lazy instantiation of the Task that Completion may if there is no other reason for the Task to exist.