Updated throttle fn comments.

Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
new-scheduler
Wouter Geraedts 5 years ago committed by GitHub
parent 7c7386735e
commit 6f6d5e9d20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -318,6 +318,7 @@ extension_trait! {
#[doc = r#" #[doc = r#"
Limit the amount of items yielded per timeslice in a stream. Limit the amount of items yielded per timeslice in a stream.
This stream does not drop any items, but will only limit the rate at which items pass through.
# Examples # Examples
```ignore ```ignore
# fn main() { async_std::task::block_on(async { # fn main() { async_std::task::block_on(async {

Loading…
Cancel
Save