Dsxir.RuntimeProgram.Edge (dsxir v0.2.0)

Copy Markdown

Typed data flow between a producer endpoint and a consumer endpoint inside a runtime program.

from: is one of {:program_input, atom()}, {:node, atom(), atom()}, or {:const, term()}. to: is {:node, atom(), atom()} or {:program_output, atom()}. kind: is :required or :optional.

Summary

Types

from()

@type from() :: {:program_input, atom()} | {:node, atom(), atom()} | {:const, term()}

kind()

@type kind() :: :required | :optional

t()

@type t() :: %Dsxir.RuntimeProgram.Edge{from: from(), kind: kind(), to: to()}

to()

@type to() :: {:node, atom(), atom()} | {:program_output, atom()}