-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should wasi:messaging/messaging-guest/handler
take a channel
parameter?
#14
Comments
I'm also wondering if it should take a |
that would be nice for RPC-y pub-sub. |
So for the channel part of this, that is part of the message itself and I think that is a fairly easy thing to consume. The passing a |
Sorry, I'm not quite following this. Do you mean to say the channel should be part of the |
Whoops sorry @dicej, I did do it in my open PR (which I am still doing some digging on around request/reply support): https://github.com/WebAssembly/wasi-messaging/pull/21/files#diff-a8f42ac7cc164b46639a30d22f97ca796bd47991da55edc0022578930424be06R29. But it isn't on main yet |
So in other words, I think it should be part of the message |
Thanks for clarifying -- that works for me. |
This would tell the guest which channel the message was received from and make it a more symmetric with
wasi:messaging/producer/send
, which takes achannel
.The text was updated successfully, but these errors were encountered: