Skip to content

setImmediate should probably be replaced with setTimeout(0, #158

@shadowcat-mst

Description

@shadowcat-mst

https://developer.mozilla.org/en-US/docs/Web/API/Window/setImmediate

Appears not to be supported by any current browser, and all the code I've seen that needs immediate microtasks uses setTimeout with a 0 timeout argument.

(yes, this could have been a PR, but researching and confirming I'm not woefully confused here seems like it's going to be most of the effort and since I'm not 100% sure I'm right I can't really PR that part, sorry)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions