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

Recreating concurrent futures combinators in smol #84

Open
v1gnesh opened this issue Oct 28, 2023 · 2 comments
Open

Recreating concurrent futures combinators in smol #84

v1gnesh opened this issue Oct 28, 2023 · 2 comments

Comments

@v1gnesh
Copy link

v1gnesh commented Oct 28, 2023

When trying to run the example as shown in the blog, it just hangs after it awaits the first Task.
Any idea what may be going on?

image

@notgull
Copy link
Member

notgull commented Oct 29, 2023

You need to run the Executor.

@v1gnesh
Copy link
Author

v1gnesh commented Oct 30, 2023

Ah yes, I figured this after looking through other issues / users.rust-lang. Thank you!
I must be doing something un-optimally, as with smol, my program is noticably slower.

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

No branches or pull requests

2 participants