You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The first time will take more than 200ms due to delay.
27
+
s.next().await;
28
+
assert!(start.elapsed().as_millis() >=200);
29
+
30
+
// There will be no delay after the first time.
31
+
s.next().await;
32
+
assert!(start.elapsed().as_millis() <=210);
33
+
```
34
+
35
+
## Added
36
+
37
+
- Added `Stream::delay` as "unstable" [(#309)](https://github.com/async-rs/async-std/pull/309)
38
+
- Added `DoubleEndedStream::next_back` as "unstable" [(#562)](https://github.com/async-rs/async-std/pull/562)
39
+
- Added `DoubleEndedStream::nth_back` as "unstable" [(#562)](https://github.com/async-rs/async-std/pull/562)
40
+
- Added `DoubleEndedStream::rfind` as "unstable" [(#562)](https://github.com/async-rs/async-std/pull/562)
41
+
- Added `DoubleEndedStream::rfold` as "unstable" [(#562)](https://github.com/async-rs/async-std/pull/562)
42
+
- Added `DoubleEndedStream::try_rfold` as "unstable" [(#562)](https://github.com/async-rs/async-std/pull/562)
43
+
-`stream::Once` now implements `DoubleEndedStream`[(#562)](https://github.com/async-rs/async-std/pull/562)
44
+
-`stream::FromIter` now implements `DoubleEndedStream`[(#562)](https://github.com/async-rs/async-std/pull/562)
45
+
46
+
## Changed
47
+
48
+
- Removed our dependency on `async-macros`, speeding up compilation [(#610)](https://github.com/async-rs/async-std/pull/610)
49
+
50
+
## Fixes
51
+
52
+
- Fixed a link in the task docs [(#598)](https://github.com/async-rs/async-std/pull/598)
53
+
- Fixed the `UdpSocket::recv` example [(#603)](https://github.com/async-rs/async-std/pull/603)
54
+
- Fixed a link to `task::block_on`[(#608)](https://github.com/async-rs/async-std/pull/608)
55
+
- Fixed an incorrect API mention in `task::Builder`[(#612)](https://github.com/async-rs/async-std/pull/612)
56
+
- Fixed leftover mentions of `futures-preview`[(#595)](https://github.com/async-rs/async-std/pull/595)
57
+
- Fixed a typo in the tutorial [(#614)](https://github.com/async-rs/async-std/pull/614)
58
+
-`<TcpStream as Write>::poll_close` now closes the write half of the stream [(#618)](https://github.com/async-rs/async-std/pull/618)
0 commit comments