Skip to content
New issue

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

polling #97

Open
robbieh opened this issue Apr 9, 2019 · 1 comment
Open

polling #97

robbieh opened this issue Apr 9, 2019 · 1 comment

Comments

@robbieh
Copy link

robbieh commented Apr 9, 2019

Why is polling OK? Why doesn't it waste a ton of CPU? How is this really working? The HelloWorld example impl doesn't really help make sense of the model. It's too much of a toy to be useful. The admonishment "poll implementations must never return NotReady unless they received NotReady by calling an inner future" makes this even more confusing, and really makes me think there is some hidden magic.

I wish I knew what to suggest, but after trying to work through this twice, I'm stuck here. There's something about the model that just hasn't come through in the examples, maybe because I don't come from a Ruby or JavaScript background? Something that programmers with experience there would grok immediately?

@carllerche
Copy link
Member

Could you include what part of the docs you reached when asking yourself this question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants