Skip to content

Timeout/Delay Support #167

@Funtime60

Description

@Funtime60

Since Event.Event allows multiple handlers for the same event, it'd be nice if there was built-in support for waiting m-ticks by taking the current tick and adding m then registering a wrapper function with on_nth_tick that will unregister itself when done. This would allow for functionality similar to SetTimout in JavaScript since we already have something similar to SetInterval.

I will admit, I haven't found a specific use case for this ability, but that's likely a case of chicken and egg.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions