cloudflare / cloudflare/workerd

Allow 0 duration setTimouts outside of handlers

Open
#4,508 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

I'm using a library that has a setTimout with duration 0 somewhere in its initialisation to force a macrotask.

Is this something that could be removed from the disallowed operations, or is there some security or technical reason is isn't desirable?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.