Skip to content

Use promises in loader instead of async/await #19

@surma

Description

@surma

via @lukastaegert

Refactor the loader code to just use Promises instead of async-await. I know async-await is supported by 91% of used browsers by now. But it is particularly hard to transpile and polyfill. This change will push compatibility to 94% but also make it easy to transpile to even lower compatibility targets while simply needing a Promise polyfill.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions