You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 notSend
.Just kindly asking if there's a workaround for this or any suggestion to have
CrudFut
Sendable, I was think to wrap it inArc
maybe, but don't know if it's a good way to do it.Thank you for any advice.
The text was updated successfully, but these errors were encountered: