Skip to main content

Gate

Buffers incoming events on the input port and emits them one by one upon any event on the next port.

component image

In-ports

input <any> — input events.

next <any> — trigger events.

Out-ports

output <any> — output events.

Overview

The Gate operator works similar to a FIFO (First In First Out) queue with a trigger. It buffers incoming events on the input port and emits them one by one upon any event on the next port.

gate overview 1

By default, the first event after the component is initialized or reset is immediately emitted as soon as it is received. You can change this behavior by turning off the "Open gate on initialization" setting.

gate overview 2

To reset the buffer, send a RESET signal to the input port.

Settings

Auto-open after initialization or reset (autoOpen)

When set to true, the operator will emit the first event immediately upon receipt. Otherwise, no events will be emitted until an event on the next port is received.

Type: Boolean
Default: true
Required: Yes