Skip to content

Import wasm in worker, delays defining message callback in FireFox  #67

Open
@greenpdx

Description

In Firefox
In App.vue, I am creating the worker then later on in App.ts sending a postmessage.
The worker loads after I post the message so there is no message handler setup yet.

I am also using vite-plugin-top-level-wait

https://github.com/greenpdx/vue_wasm_template
branch oworker

I know what is happening but I don't know how to fix it.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions