Skip to main content

Module memory

Module memory 

Source
Expand description

MemoryTransport — a scripted Transport with no server behind it.

This is the transport a client test uses. It is wasm-safe (it is the only transport that can be, since it has no I/O), so it is what proves a generated client compiles and runs for wasm32-unknown-unknown without also standing up a browser.

It is not the in-process transport: that one drives a real Activation and therefore lives on the plexus-core side. This one replays a script.

Structs§

MemoryTransport
A Transport that answers from a script and records what it was asked.