Skip to content

[feature request] Timers should be usable in Node.js environment #176

Closed
@teohhanhui

Description

@teohhanhui

Describe the Bug

Trying to use timers while running in Node.js environment currently panics with:

panic!("Only supported in a browser or web worker");

Steps to Reproduce

N/A

Expected Behavior

Timers work in Node.js environment.

Actual Behavior

Panic with error message: Only supported in a browser or web worker

Additional Context

Similar to #106

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions