Skip to content

async/await support in live editor #206

Description

@forgo

I'm not sure whether async functions should be working in the LiveEditor or not, but when I have that syntax, I get this error in the LiveError:

"SyntaxError: Unexpected identifier"

I couldn't find any documentation or issues regarding this.

EDIT:

It appears this works:

async function loop(next) {

But this syntax does not:

async next => {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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