Skip to content

Commit cbccb5c

Browse files
committed
Update release notes
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent aef8dd9 commit cbccb5c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

RELEASE_NOTES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@
9595

9696
This was removed alongside `Peekable` (it was only raised when using a `Receiver` that was converted into a `Peekable`).
9797

98+
- `Timer`:
99+
100+
- `periodic()` and `timeout()`: The names proved to be too confusing, please use `Timer()` and pass a missing ticks policy explicitly instead. In general you can update your code by doing:
101+
102+
* `Timer.periodic(interval)` / `Timer.periodic(interval, skip_missed_ticks=True)` -> `Timer(interval, TriggerAllMissed())`
103+
* `Timer.periodic(interval, skip_missed_ticks=False)` -> `Timer(interval, SkipMissedAndResync())`
104+
* `Timer.timeout(interval)` -> `Timer(interval, SkipMissedAndDrift())`
105+
98106
* `util`
99107

100108
The entire `util` package was removed and its symbols were either moved to the top-level package or to their own public modules (as noted above).

0 commit comments

Comments
 (0)