You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for IsCompleted is "Gets a value indicating whether the queue has completed." which implies that it is determined by whether AsyncQueue.Complete() has been called.
The actual implementation seems to be:
public bool IsCompleted
{
get
{
lock (SyncRoot)
{
return completeSignaled && IsEmpty;
}
}
}
Which returns true if and only if the queue is completed and it is empty.
Changing the implementation at this point would be bad, but the documentation should be changed to something like:
"Gets a value indicating whether the queue has completed and empty."
The text was updated successfully, but these errors were encountered:
Bug description
The documentation for IsCompleted is "Gets a value indicating whether the queue has completed." which implies that it is determined by whether AsyncQueue.Complete() has been called.
The actual implementation seems to be:
Which returns true if and only if the queue is completed and it is empty.
Changing the implementation at this point would be bad, but the documentation should be changed to something like:
"Gets a value indicating whether the queue has completed and empty."
The text was updated successfully, but these errors were encountered: