Skip to main content

Delay

Delays all events by wait milliseconds. Doesn't delay signals.

component image

In-ports

input <any> — input events to delay.

config JSON (dynamic) — accepts a JSON object with configuration properties that can be set at runtime.

Out-ports

output <any> — delayed events.

Overview

The Delay operator delays all events by wait milliseconds. It does not delays the signals.

To reset the latest value on input port, send a RESET signal.

Example 1

This example applies the Delay operator to a stream of integer values, which delays all events by 1000 milliseconds.

delay example 1

Settings

Enable realtime config port

If this setting is enabled, the component can be configured through the config port. This port accepts a configuration object as input and allows you to set dynamic properties at runtime. Note that using this port does not cause the component to reinitialize, but it may cause some previous state of the component to be lost.

Wait (wait)

Wait period in milliseconds.

Type: Number
Constraint: >= 0
Required: Yes