mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-25 09:46:49 +00:00
Updated throttle fn comments.
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
This commit is contained in:
parent
7c7386735e
commit
6f6d5e9d20
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue