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
Rather than a Signal returning Poll<Option<Self::Item>>, instead it should return a custom enum, like this:
Poll<Option<Self::Item>>
enum SignalPoll<A> { Done(Option<A>), Changed(A), NotChanged, }
This will make it possible to always poll the Signal a single time (rather than continuing to poll repeatedly).
The text was updated successfully, but these errors were encountered:
Pauan
No branches or pull requests
Rather than a Signal returning
Poll<Option<Self::Item>>
, instead it should return a custom enum, like this:This will make it possible to always poll the Signal a single time (rather than continuing to poll repeatedly).
The text was updated successfully, but these errors were encountered: