Skip to content

Timer - add failed (in set)! #1638

Description

@amao-cbw

Build environment: Windows
Moddable SDK version: 8.2.0
Target device: Desktop simulator

Description
I've noticed that timers will fail to create when the timeout length is 1 hour. Is this expected behaviour? If so, what are the timer limitations? I didn't see anything about this in https://www.moddable.com/documentation/base/base#timer

Steps to Reproduce
In the timers example, change the one shot length to an hour
// one shot (setTimeout)
const WAIT_TIME = 10006060;
Timer.set(() => trace("oneshot\n"), WAIT_TIME);

Run with mcconfig -d -m -p win

Expected behavior
The timer to be created

Images
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions