Add ordering note

This commit is contained in:
Steven Fackler 2019-01-17 20:45:51 -08:00
parent b3fdf168e5
commit 0ca084d676

View File

@ -49,6 +49,12 @@
//! tokio::run(fut);
//! ```
//!
//! # Behavior
//!
//! Calling a method like `Client::query` on its own does nothing. The associated request is not sent to the database
//! until the future returned by the method is first polled. Requests are executed in the order that they are first
//! polled, not in the order that their futures are created.
//!
//! # Pipelining
//!
//! The client supports *pipelined* requests. Pipelining can improve performance in use cases in which multiple,