Skip to content

Conversation

@aisrael
Copy link

@aisrael aisrael commented Sep 24, 2019

Added + Send to the return type of InfluxDbClient.query() so it can be used with tokio::spawn() as demonstrated here: https://github.com/aisrael/tokio-influxdb/blob/master/src/main.rs#L11

Fixes #11

@aisrael aisrael changed the title Added + Send Added + Send to InfluxDbClient.query() Sep 24, 2019
@Empty2k12
Copy link
Collaborator

Hey, thanks for this PR! Great the solution worked for you.

Would you mind adding the + Send to all the other places as well, so that all of the futures this crate exposes can benefit from being Sendable?

@Empty2k12
Copy link
Collaborator

Fixed in #32

@Empty2k12 Empty2k12 closed this Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment