Skip to main content

Module external_process

Module external_process 

Source
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.
ExternalBincodeBidi
A bidirectional port handle for exchanging bincode-serialized data with an external process.
ExternalBincodeSink
A sink handle for sending bincode-serialized data from an external process into the dataflow.
ExternalBincodeStream
A stream handle for receiving bincode-serialized data from an external process.
ExternalBytesPort
A port handle for sending or receiving raw bytes with an external process.

Enums§

Many
Marker type indicating that a port is connected to multiple external clients.
NotMany
Marker type indicating that a port is connected to a single external client.