Skip to content

Add documentation for scheduler.wait() #28595

@danieltroger

Description

@danieltroger

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    content:newRequest for new/missing contentdocumentationDocumentation edits

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions