Hi Erin,
In Cloudflare Workers, we've had some success attaching certain kinds of
metadata by having a wrapper object which is called first, like:
interface Endpoint {
startCall @0 (metadata :Metadata) -> (dispatcher :CallDispatcher);
}
interface CallDispatcher {
foo @0 (
Many protocols provide some way to attach metadata to requests & responses.
HTTP and protocols derved from it provide this in the form of headers (and
occasionally trailers), for example.
There are various reasons why this can be very useful, even in a capability
oriented system:
* Propagatin