Skip to content

Is it worth adding suspend.all? #58

Answered by tlively
oovm asked this question in Q&A
Discussion options

You must be logged in to vote

This instruction would probably be too high-level for WebAssembly. Different producers would want different behavior. For example, should the yielded values be stored in a memory? in a table? in an array? dropped? It's better to provide the low-level building blocks and let producers implement exactly what they need rather than trying to provide such high-level operations directly.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by oovm
Comment options

You must be logged in to vote
1 reply
@oovm
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants