Skip to main content
Version:v0.1.0 (latest)v0.0.1

Combine

Combines multiple input streams and emits a combined result on any incoming event using the latest values from each connected input.

stream_combine component image

In-ports

p1 … pN <any> — dynamic data inputs; the number of inputs is defined by Port count.

Out-ports

array Array — combined values in port order.

object Object — combined values keyed by port labels (or port names when labels are not set).

meta Object — metadata for each emission: request, isFlush (always true), attributes, and per-port stat (bufferedEventsCount, bufferedSignalsCount, state, and original port name).

Overview

The Combine operator maintains the latest value per connected input and emits a combined result whenever any input receives a new event. Emission starts only after all connected ports have received at least one value.

combine overview

To reset the values on any input port, send a RESET signal to that port.

info

The Combine operator combines values exclusively from active ports, which are input ports with connected streams. For instance, if only one input port is activated, the Combine operator will immediately output the incoming value on that port.

Settings

Port count (portCount)

Defines how many dynamic input ports (p1 … pN) are available.

  • Required: Yes
  • Default: 2