Replies: 1 comment
-
I saw #408, it seems what I want is pipeline mode which is a feature of the database, and I can't achive it with something like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently I'm using a
Transaction
with multiple successive.await
calls, but I think there must be a way to run those futures concurrently, I just don't know how.I tried to do it using
FuturesUnordered
. The problem I'm facing is thatExecutor
is only implemented for&mut Transaction
, andTransaction
doesn't implementCopy
orClone
, this means those futures must take multiple mutable reference to oneTransaction
, which is not allowed.Beta Was this translation helpful? Give feedback.
All reactions