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
The lifetime referencing the client to poll here is quite restrictive when trying to await an async transaction in a separate task/thread. It would be ideal if the reference instead was an Arc to make it threadsafe, since the overhead doesn't matter in this context.
The text was updated successfully, but these errors were encountered:
Addresses #248
There are probably further improvements I could make to the API of
workspace now that Client has a clone instance, but I wanted to start
with a PR with a small footprint and get feedback.
The lifetime referencing the client to poll here is quite restrictive when trying to await an async transaction in a separate task/thread. It would be ideal if the reference instead was an
Arc
to make it threadsafe, since the overhead doesn't matter in this context.The text was updated successfully, but these errors were encountered: