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
spawn_blocking
TestViewGenerator
Quoted from Brendon:
What's happen is: We create a TestViewGenerator stream call next().await to get the next (first view) This creates a future and calls poll_next code Chengyu linked abov This creates a future which calls TestView::genesis This future calls spawn_blocking When we await the spawned calc the future returns Pending Eventually the calculation concludes and we can re poll poll_next and that creates a brand new future calling TestView::genesis and thus the loop
What's happen is:
next().await
poll_next
Pending
TestView::genesis
https://github.com/EspressoSystems/espresso-sequencer/blob/29bb98ee2e2e1cc75dd1daa355e7d7918272044b/hotshot-testing/src/view_generator.rs#L649-L667
The text was updated successfully, but these errors were encountered:
Bump dyn-clone from 1.0.16 to 1.0.17 (#2664)
e72196b
Bumps [dyn-clone](https://github.com/dtolnay/dyn-clone) from 1.0.16 to 1.0.17. - [Release notes](https://github.com/dtolnay/dyn-clone/releases) - [Commits](dtolnay/dyn-clone@f2f0a02...51bf881) --- updated-dependencies: - dependency-name: dyn-clone dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
No branches or pull requests
Quoted from Brendon:
https://github.com/EspressoSystems/espresso-sequencer/blob/29bb98ee2e2e1cc75dd1daa355e7d7918272044b/hotshot-testing/src/view_generator.rs#L649-L667
The text was updated successfully, but these errors were encountered: