Skip to content

Should the asyncify wakeUp callback be wrapped automatically in callUserCallback #26093

@sbc100

Description

@sbc100

As of today if I do something like:

Asyncify.handleSleep((wakeUp) => setTimeout(() => wakeUp(42), 0);

then the program continuation after the wakeup will not be correctly wrapped in callUserCallback which means that things like exit() will not work correctly.

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