Skip to main content

Skip

Skips the first count events from input, then emits all the rest.

component image

In-ports

input <any> — input events

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

Out-ports

output <any> — output events.

Overview

The Skip operator skips the first count events from the input stream, and then continues to emit all the other events on the output port.

To reset the operator, send a RESET signal.

Example 1

This example applies the Skip operator to a stream of integer values, skipping the initial 2 events. It then skips another 2 events after the RESET signal.

skip 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.

Count (count)

The number of events to skip from the beginning.

Type: Number
Constraint: >= 0
Required: Yes