Skip to content

Introduce async/await in the codebase? #1213

Open
@ringods

Description

@ringods

Would it be possible to start using async/await in the PL codebase? This was already suggested when moving to Node 8 (#870) but I don't see it in the code base so far.

This request is driven by my failure in debugging #1201 so far, mainly because the whole async behaviour of Node is hard to follow. While VSCode tries to display the stack trace including the point which created a new Promise, clicking on the stack fails to display the context (block, local, closure, global). So I still fail to understand how I got into a certain situation.

https://mathiasbynens.be/notes/async-stack-traces

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions