Constant avatar

Constant

1 version
Open in App

Constant

Emits a fixed, predefined value into the pipeline on every tick, independent of any input.

Use this when

  • You want to inject a tunable threshold, reference value, or default into a pipeline without hardcoding it inside a component.
  • You are testing or experimenting with fixed inputs during development.
  • A downstream component expects a continuous stream of a known value.

What it does

Streams exactly one pre-defined value repeatedly. The value is supplied as a parameter, so it is visible and configurable from the pipeline instead of buried in component code.

Inputs

This transformation takes no inputs.

Outputs

TypeDescription
tThe constant value, emitted forever.

Parameters

NameTypeDescription
valuetThe value to emit. Type matches the output.

Works best with

  • A downstream component that expects a static threshold or configuration stream.
  • Filter — feed a constant threshold into comparisons.

Caveats

  • The value never changes at runtime. To change it, redeploy the pipeline.
  • Constants still consume a stream slot — design pipelines accordingly.

Versions

  • 61244b84linuxTransformation