Skip to content

postMessage support #2265

Answered by ospencer
juls0730 asked this question in Help
Discussion options

You must be logged in to vote

Hi @juls0730, that's great to hear. Using WASI sockets for postMessage seems a little overkill for this type of thing—you'd have to wire up messages to get forwarded to the wasm code anyway, so you might as well just receive the message in your worker and just call one of the module's exports. You'll have a much easier time.

I'm happy to help you figure it out and get that working—let's make this a discussion instead.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ospencer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2264 on April 02, 2025 09:58.