-
Notifications
You must be signed in to change notification settings - Fork 92
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
Share running futures #81
Comments
I believe what you're looking for is an option to force the |
@tagantroy I'm not sure where you ended up with this, but support for this was added a couple months ago:
So when you pass |
Hello,
Thanks for this awesome crate!
My team use this crate to cache results of async function to prevent expensive io/computations. We run processing in parallel, but caching works only for sequential requests. For example:
prints:
Is this desired behavior?
To workaround this problem we added wrapper function:
prints:
What is the correct way to solve it? Is it possible to implement support for sharing running futures in this crate?
The text was updated successfully, but these errors were encountered: