Re: [capnproto] RPC pipelining on a struct's union members

2017-05-31 Thread Ian Denhardt
This is also somewhat relevant to something I've been playing around with. Nothing particularly novel, just a set of interfaces for exporting unixy filsystems. It would be nice if I could get a union back (with variants for directory vs. regular file) when doing something like open. But, this

Re: [capnproto] RPC pipelining on a struct's union members

2017-05-31 Thread 'Kenton Varda' via Cap'n Proto
Hi Johannes, Thanks for the feedback. I'm curious: In your use case, does the caller somehow know in advance when getValue() is going to return an interface, thus allowing pipelining? If so, would it make sense to have a separate method, e.g. getInterface(), for that case, which just returns the