Skip to content

Instantly share code, notes, and snippets.

@stevejgordon
Created October 14, 2020 08:38
Show Gist options
  • Save stevejgordon/6d1de935793ab296487a747f1f4b0a50 to your computer and use it in GitHub Desktop.
Save stevejgordon/6d1de935793ab296487a747f1f4b0a50 to your computer and use it in GitHub Desktop.
var waiter = new AsyncOperation<bool>(parent._runContinuationsAsynchronously, cancellationToken);
ChannelUtilities.QueueWaiter(ref parent._waitingReadersTail, waiter);
return waiter.ValueTaskOfT;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment