Expand description
Types for representing external processes that communicate with a Hydro dataflow.
An external process is a process that lives outside the Hydro dataflow graph but can send data to and receive data from locations within the graph. This is the primary mechanism for feeding input into a Hydro program and observing its output at runtime.
The main type in this module is External, which represents a handle to an external
process. Port types such as ExternalBytesPort, ExternalBincodeSink,
ExternalBincodeBidi, and ExternalBincodeStream represent the different kinds of
communication channels that can be established between an external process and the
dataflow.
Structs§
- External
- A handle representing an external process that can communicate with the Hydro dataflow.
- External
Bincode Bidi - A bidirectional port handle for exchanging bincode-serialized data with an external process.
- External
Bincode Sink - A sink handle for sending bincode-serialized data from an external process into the dataflow.
- External
Bincode Stream - A stream handle for receiving bincode-serialized data from an external process.
- External
Bytes Port - A port handle for sending or receiving raw bytes with an external process.