- Return ValueTask instead of Task from WriteAsync helpers - Use TryGet instead of foreach to avoid enumerator (though it's just a stack allocation here) |
||
|---|---|---|
| .. | ||
| ForceAsyncAwaiter.cs | ||
| PipeWriterStream.cs | ||
| StreamExtensions.cs | ||
| WebSocketExtensions.cs | ||
- Return ValueTask instead of Task from WriteAsync helpers - Use TryGet instead of foreach to avoid enumerator (though it's just a stack allocation here) |
||
|---|---|---|
| .. | ||
| ForceAsyncAwaiter.cs | ||
| PipeWriterStream.cs | ||
| StreamExtensions.cs | ||
| WebSocketExtensions.cs | ||