Created
October 14, 2020 08:36
-
-
Save stevejgordon/3c7df195531368f6b4d4ce5def2a1414 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (parent._doneWriting != null) | |
{ | |
return parent._doneWriting != ChannelUtilities.s_doneWritingSentinel ? | |
new ValueTask<bool>(Task.FromException<bool>(parent._doneWriting)) : | |
default; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment