Issue with docs/handbook/interactions/index.md
mashbrno opened this issue · 4 comments
mashbrno commented
I believe that Observable
in the examples cannot be awaited directly, but has to be called with .FirstAsync()
;
glennawatson commented
Observables can be awaited. There's an adapter for allowing it.
glennawatson commented
Effectively await
in an async method will call this extension method https://github.com/dotnet/reactive/blob/9f2a8090cea4bf931d4ac3ad071f4df147f4df50/Rx.NET/Source/src/System.Reactive/Linq/Observable.Awaiter.cs#L20
The Reactive Extensions for .NET. Contribute to dotnet/reactive development by creating an account on GitHub.
glennawatson commented
You'll need to make sure you include that System.Reactive.Linq namespace though. Intellisense usually picks that up when you attempt to await.
github-actions commented
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.