Skip to content

Async/Await freezing when running SQL #2074

Open
@jadencarver

Description

@jadencarver

I'm having an issue getting predictable behavior out of async/await when running SQL: https://github.com/jadencarver/sean_app - I tested that it functions as expected when the Promise is a simple setTimeout, but the await fails to resume when the Promise is bound to a SQL query. I don't believe I did anything wrong implementing the Promise.

What could cause this inconsistent behavior? I understand that await/async is experimental, but I feel obligated to report this issue as has been a barrier for me.

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