Skip to content

Round timer durations up to 0 #3585

@djspiewak

Description

@djspiewak

IO.sleep(-1.millis) should equal IO.sleep(0.millis), which in turn should equal IO.cede. It's probably easiest to play this trick in IOFiber rather than tracking down all the various places we call sleep.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions