Skip to content

Timer: Remove periodic() and timeout() #253

@llucax

Description

@llucax

What's needed?

The names are just too confusing and we'll never find a name that can convey all the intricacies of timers in the async world.

I'll probably leave the docs about both methods as examples of how to use the timer to achieve different goals.

Proposed solution

Remove periodic() and timeout() and force users to pass the missing ticks policies manually.

Metadata

Metadata

Assignees

Labels

part:coreAffects the core types (`Sender`, `Receiver`, exceptions, etc.)priority:highAddress this as soon as possiblescope:breaking-changeBreaking change, users will need to update their codetype:enhancementNew feature or enhancement visitble to users

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions