-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Open
Labels
content:newRequest for new/missing contentRequest for new/missing contentdocumentationDocumentation editsDocumentation edits
Description
Proposed changes
scheduler.wait() is available in a workers context - it's part of the auto-generated types.
However it's very sparsely documented.
Is it identical to await new Promise(r => setTimeout(r, TIMEOUT_MS)) or is it blocking the main thread?
Subject Matter
scheduler.wait()
Content Location
New document I suppose? I'm unsure of the best location, it should show up in google 😅
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
content:newRequest for new/missing contentRequest for new/missing contentdocumentationDocumentation editsDocumentation edits