Skip to main content

Inject Signal

Injects a signal into the stream based on the predefined conditions.

component image

In-ports

reset-np <any> - input stream that will be injected with non propagating RESET signal.

reset <any> - input stream that will be injected with RESET signal.

scope-changed <any> - input stream that will be injected with SCOPE_CHANGED signal.

Out-ports

output <any> - emits combined input streams with injected signals.

Overview

The Inject Signal component is used to inject RESET, or SCOPE_CHANGED signals into incoming streams. The type of injected signal depends on which input port a stream is connected to. The timing of the injection (before or after) is defined in the settings. Incoming events on input ports will be emitted on the output port without any changes.

Injecting signals is useful when you need to reset a port or widget specifically before or after incoming event.

Note: If non propagating RESET is injected then it will be consumed by a single downstream component or widget. Once consumed, it will not propagate further. While this component injects only RESET and SCOPE_CHANGED, it can filter based on incoming status events when configured to inject on status events.

Settings

Signal placement

Specify whether the signal is injected before or after a passing event.

  • Before (before) - the signal will be injected right before the incoming event
  • After (after) - the signal will be injected right after the passing event

Type: String
Required: No
Default: after

Event type

Specifies an event type for which to inject the signal:

  • All (all) — inject for both data events and signals.
  • Data (data) — inject only for data events.
  • Signal (signal) — inject only for signals.

Type: String
Required: No
Default: all

Signal types

If the all or signal event types are selected, you can specify the types of signals for which to inject the signal. Otherwise, the signal will be injected for any incoming signal.