bytecodealliance / wrpc

Wasm component-native RPC framework
Other
118 stars 18 forks source link

feat(transport): Adds support for a vec of options #317

Closed thomastaylor312 closed 6 days ago

thomastaylor312 commented 1 week ago

I discovered this when trying to implement wasi:keyvalue/batch, which returns a list of optionals. There was no Deferred impl for an option decoder, so this adds a simple implementation for it

thomastaylor312 commented 1 week ago

This is in draft until it can pick up on https://github.com/wrpc/wasm-tokio/pull/1 when it merges and updates

thomastaylor312 commented 6 days ago

Yep, looks like #318 fixed it!