Type Alias: HostToGuestEnvelope
ts
type HostToGuestEnvelope =
| {
args: WireValue[];
id: string;
method: string;
t: "call";
}
| {
id: string;
t: "abort";
}
| {
args: WireValue[];
id: string;
stream: string;
t: "stream:start";
}
| {
id: string;
reason?: WireValue;
t: "stream:cancel";
}
| {
t: "shutdown";
};Defined in: src/batteries/isolation/protocol.ts:55
Host → guest envelopes.