Open
Description
Last week, an idea was presented by which callers could prevent unnecessary intermediate copies using the syntax:
read: func(length: u64) -> result<list<u8; ..length>,error-code>;
Is there any provision to make this work when the list
is not directly present in the function result signature? For example when it is nested within a record type (along with other properties)
And even more challenging: what if the number of output lists is variable? Looking specifically at wasi:sockets.udp.incoming-datagram-stream::receive
😇