Skip to content

How can I make tokio run multiple sqlx executions at the same time? #4590

Discussion options

You must be logged in to vote

The async block that you are spawning doesn't return a Result, so you can't use the question mark operator. Either stop using the question mark operator or have it return a Result. It has nothing to do with sqlx.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@fritshoogland-yugabyte
Comment options

@PoorlyDefinedBehaviour
Comment options

Answer selected by hawkw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants