Skip to content

Use of async makes things difficult. Use promises instead. #71

Open
@bendavis78

Description

@bendavis78

I'm trying to use this in conjunction with printedjs, but it doesn't work because this library manipulates dom in a setTimeout(). Is there a good reason this needs to be wrapped in a setTimeout? If so, why not use promises? That would give us more control over the situation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions