Skip to content

Potential sync problem with postMessage #13

@Leokuma

Description

@Leokuma

When calling postMessage many times in a row - like in a loop - without await, there may be sync problems, especially when retrieving the message just sent.

Maybe postMessage should be a synchronous function? I can't think of a safe use case where it would be async.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions