Documentation
¶
Overview ¶
Command hydrated is the Go peer of the hydrated interoperability check (scripts/hydrated-interop.mjs), evidence for bitwire decision 0019. Test-only.
hydrated serve listen at participant [s]; on connection, expose an echo
endpoint and send its reference payload at ["bootstrap"];
print the URL; exit when stdin closes
hydrated client <url> participant [c]: call "continue" with a reply HydratedWire, send a
third HydratedWire through the returned continuation, print "ok"
when the third HydratedWire receives the value
The echo: (op, arg, reply) replies (arg, continuation); the continuation sends the value it receives to the HydratedWire it carries, then closes.