summaryrefslogtreecommitdiffstats
path: root/tokio/src/stream/empty.rs
AgeCommit message (Collapse)Author
2020-05-14docs: improve discoverability of codec module (#2523)Geoff Shannon
2020-04-04test: add Send/Sync tests for all async fns (#2377)Alice Ryhl
Also updates Empty and Pending to be unconditionally Send and Sync.
2020-01-11stream: add `empty()` and `pending()` (#2092)Carl Lerche
`stream::empty()` is the asynchronous equivalent to `std::iter::empty()`. `pending()` provides a stream that never becomes ready.