Timeout for stream #1901
Labels
A-tokio
Area: The main tokio crate
C-enhancement
Category: A PR with an enhancement or bugfix.
C-proposal
Category: a proposal and request for comments
M-stream
Module: tokio/stream
M-time
Module: tokio/time
Version
0.2.2
Description
In PR #1774, the implementation of
Stream
forTimeout
was removed, and the new constructor function (timeout
) has aT: Future
bound. Is there a way to create a stream with timeout now?The text was updated successfully, but these errors were encountered: