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
Invert if block for common case, log send faults at debug level
Address review feedback:
- Invert the WhenAny check so the common case (send completes first)
is in the if branch.
- Replace fire-and-forget ContinueWith with ObserveSendFaults that
logs the exception at Debug level using the logging source generator.
Uses ConfigureAwaitOptions.SuppressThrowing on .NET and ContinueWith
on downlevel.
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
0 commit comments