Deconeuro-Lab / Deconeuro-Lab/last-app

Investigate whether we can implement the timer/stopwatch count in a new thread

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
bug frontend
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The (asynchronous) setInterval function cannot reliably set the timer count, since all JavaScript in a browser executes on a single thread.

Asynchronous events (such as mouse clicks and timers) are only run when there's been an opening in the execution.

Web workers seems like a good solution

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.