Commit Graph

1123 Commits (ceba324bef9641d61239ed68a2f6671f59fa2831)
 

Author SHA1 Message Date
Yoshua Wuyts f49d7cbbb8
Merge pull request #533 from async-rs/remove-throttle-example
remove standalone throttle example
5 years ago
Felipe Sere 64216b8e6b Take a normal closure, not an async one 5 years ago
Felipe Sere 786a52a09d Slight miss-merge 5 years ago
Felipe Sere f14b37ff17 Remoe the T: Copy bound on the item 5 years ago
Felipe Sere 7677e9a3df Make the closure take a borrow to the value 5 years ago
Felipe Sere bfb42b432e Rearrange docs to match 'repeat' 5 years ago
Felipe Sere 4c09cdbeac Mark successors as unstable 5 years ago
Felipe Sere 243cdd7ff1 Slight miss-merge 5 years ago
Felipe Sere a257b7018c Rename some variables to match iter 5 years ago
Felipe Sere af928163e4 Got further! Thx Josh! 5 years ago
Felipe Sere 8d97e0f974 Only produes empty value if next is ever a 'None' 5 years ago
Felipe Sere 266754897e Rename the module to 'successors' 5 years ago
Felipe Sere 554d5cfbc1 Slight renamings 5 years ago
Felipe Sere 8b662b659d Run rustfmt 5 years ago
Felipe Sere 95a3e53fcd Only use the Option of the future to decide to construct a new one 5 years ago
Felipe Sere 02b261de10 It compiles! Store the future and poll it instead of creating multiple new ones 5 years ago
Felipe Sere fe3c9ef626 First attempt at successor 5 years ago
Yoshua Wuyts 4e1d79adb1
Merge pull request #524 from yjhmelody/stream-max
Add Stream max
5 years ago
Yoshua Wuyts 1546448800
remove throttle example
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 338273eb18
Merge pull request #356 from Wassasin/342-stream-throttle
Implemented StreamExt::throttle
5 years ago
Wouter Geraedts dda65cbff0 Start throttle measurement before initialisation 5 years ago
Johannes Weissmann 9ebe41f2d6
Update src/stream/stream/mod.rs
Co-Authored-By: nasa <htilcs1115@gmail.com>
5 years ago
Wouter Geraedts 90c67c223a Decreased throttle test time to original values; only test lower bound 5 years ago
sclaire-1 8473b738d0
Edit tutorial index.md
Edited the structure of sentences to make it easier to read
5 years ago
Stjepan Glavina 0c2282ffdc
Optimization: a slot for the next task to run (#529)
* Optimization: a slot for the next task to run

* Only notify workers when a task is pushed into a queue
5 years ago
Florian Gilcher d546ee3d92
Merge pull request #528 from skade/remove-nightly-note
Update version requirements in the tutorial
5 years ago
Florian Gilcher 6338341369
Merge pull request #520 from gierlachg/stream_pinning
Cleaning up stream pinning.
5 years ago
Florian Gilcher 6f4bea07a1
Update version requirements in the tutorial 5 years ago
yjhmelody 5adb112a00 export IntoInnerError for io 5 years ago
yjhmelody 9d634cb2a7 refactor io dir to be same with std 5 years ago
yjhmelody 879af6dc85 Add Stream max 5 years ago
Yoshua Wuyts 79962e20a5
enable attributes feature
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 1431ee0422
polish README.md examples
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 2dfdc1c482
polish lib.rs examples
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Grzegorz Gierlach e442eba625 Cleaning up stream pinning. 5 years ago
Grzegorz Gierlach f0875d2dca Cleaning up stream pinning. 5 years ago
Devashish Dixit f611ceccc8 Run cargo fmt for doc comments (#515) 5 years ago
Yoshua Wuyts 74a7d93611 upgrade async-macros to 2.0.0 (#519)
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Wouter Geraedts c5b3a98e5b Increased throttle test to 10x time 5 years ago
Yoshua Wuyts 3151a70b77
Merge pull request #517 from Alexendoo/surf
Enable surf example
5 years ago
Wouter Geraedts 4ab7b213de Updated example to be consistent; added timing measurements to throttle 5 years ago
Wouter Geraedts 6990c1403f Reimplemented throttle to never drop Delay, added boolean flag 5 years ago
Wouter Geraedts 77a1849303 Merge branch '342-stream-throttle' of github.com:Wassasin/async-std into 342-stream-throttle 5 years ago
Wouter Geraedts a722de1a10 Merge remote-tracking branch 'upstream/master' into 342-stream-throttle 5 years ago
Wouter Geraedts 88cbf2c119 Change throttle test to run in milliseconds 5 years ago
Wouter Geraedts 6f6d5e9d20
Updated throttle fn comments.
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
5 years ago
Wouter Geraedts 7c7386735e
Wrap around throttle comment
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
5 years ago
Alex Macleod 1b7d5bea6b Enable surf example
1.0.3 has been released with the required change
5 years ago
Yoshua Wuyts 46c58b214c
Merge pull request #514 from async-rs/stabilize-yield-now
stabilize task::yield_now
5 years ago
Yoshua Wuyts 0d5c7a217f
stabilize task::yield_now
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago