Skip to content

Using onMessage and postMessage in a worker and main thread #322

Open
@ari62

Description

@ari62

Hello, please provide an example of using onMessage and postMessage from both the worker side and the main thread side using Typescript. The object returned from spawn doesn't seem to include those methods and I dont see how to call them from within expose as well.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions