Skip to content

stop timer #238

@yshui

Description

@yshui

right now the only way to stop a timer seems to be setting a period that is so long so adding it to Instant::now() overflows. I think Duration::MAX should do it but I don't know if it's guaranteed. can we also provide a method to clearly pause a timer without any room for doubt?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions