We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem:
It seems that errors thrown from an async/await method are swallowed instead of being received by the subscriber.
Example:
var evt = new AutoResetEvent(false); Observable.FromAsync(TestAsync) .Subscribe( _ => "Next".Dump(), ex => $"Error {ex}".Dump(), _ => { "Completed".Dump(); evt.Set(); }); evt.WaitOne(); async ValueTask TestAsync(CancellationToken ct) { await Task.Delay(TimeSpan.FromMilliseconds(1)); throw new InvalidOperationException(); }
Expected output:
Error ....etc... Completed
Actual output:
Completed
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem:
It seems that errors thrown from an async/await method are swallowed instead of being received by the subscriber.
Example:
Expected output:
Actual output:
The text was updated successfully, but these errors were encountered: