API
ChannelWriter<T>.WaitToWriteAsync
Waits for a write opportunity or terminal status; another writer may take the opportunity.
Formal Syntax & Structure
csharp syntaxcsharp
await queue.Writer.WaitToWriteAsync(token)Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.await queue.Writer.WaitToWriteAsync(token)