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

Error doesn't implement Send #14

Closed
ozgrakkurt opened this issue Feb 15, 2022 · 5 comments
Closed

Error doesn't implement Send #14

ozgrakkurt opened this issue Feb 15, 2022 · 5 comments

Comments

@ozgrakkurt
Copy link

this makes it very hard to use the Arweave since the errors it returns are !Send and that makes the Futures themselves !Send which makes running them in tokio not possible without LocalSet

@CalebEverett
Copy link
Owner

Can you give me an example of where this happens and the error message so I can try to track down and fix?

@ozgrakkurt
Copy link
Author

there is no specific message just the future that calling Arweave::get_price_terms produces doesn't implement Send so we can't tokio::spawn it.
image

This is because the Error type doesn't implement Send

@CalebEverett
Copy link
Owner

Ok, I'll see if I can implement it - thanks.

@CalebEverett
Copy link
Owner

Let me know if this works. Master has the update and 1.57 should be on crates.io in 15 minutes or so.

@ozgrakkurt
Copy link
Author

thank you it works!

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