param
Name | Type | Description | Optional |
---|---|---|---|
value |
? |
static input to the current circuit |
yes |
A param
provides a static parameter value to a circuit or infrastructure instance. Every call to a circuit or infrastructure may provide exactly one such value per param
port. The parameter is typically a constant, for example, an identifier in the form of a string, but it can equally be an expression that is evaluated during circuit startup. By the time the circuit receives it, in any case, it is a single fixed value for the lifetime of that instance of the circuit / infrastructure. Calls to the circuit or infrastructure will have a corresponding param port on the call node itself, by the same name as the param
node in the circuit or infrastructure (MyParamName
here).
Param ports on a call appear in the same order that the corresponding param
port nodes are arranged in the circuit / infrastructure, horizontally.