Skip to content

Commit

Permalink
Add ordering note
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jan 18, 2019
1 parent b3fdf16 commit 0ca084d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tokio-postgres/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0ca084d

Please sign in to comment.