WebAssembly / wasi-blobstore

12 stars 10 forks source link

fix: align blob interface with `wasi:keyvalue` #11

Closed rvolosatovs closed 1 year ago

rvolosatovs commented 1 year ago

~Blocked on #10~

In current design, there is no distinction between outgoing and incoming values, which make the interface hard to use and implement correctly.

To fix that and improve developer experience on both sides of the interface, align the stream design with wasi:keyvalue https://github.com/WebAssembly/wasi-keyvalue/blob/8b83c601046cdbba98e4a23f952cacf743ef04fe/wit/types.wit#L32-L56