Skip to content

remove setTimeout from poly/setImmediate's tasks.runIfPresent #24

@unscriptable

Description

@unscriptable

This code seems to need a general makeover. The requirement is to ensure the queue isn't processed while new tasks are being added. There has to be a better way to do this than a currentlyProcessing flag and a setTimeout().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions