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

Future is not Send as it awaits another future which is not Send #14

Open
arkanoider opened this issue Dec 10, 2023 · 0 comments
Open

Comments

@arkanoider
Copy link

Hi guys,

sorry for the probably noob question. I am calling an .update from a spawned thread and I am getting this is error:

Future is not Send as it awaits another future which is not Send

I am reading about it and I understand that this is normal in this case because CrudFut returned is not Send.

Just kindly asking if there's a workaround for this or any suggestion to have CrudFut Sendable, I was think to wrap it in Arc maybe, but don't know if it's a good way to do it.

Thank you for any advice.

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

1 participant