Skip to main content

Sample By

Emits latest value from the input port upon any event on the trigger port.

component image

In-ports

input <any> — input value to emit.

trigger <any> — trigger events.

Out-ports

output <any> — output events.

Overview

The Sample By operator emits the last value received on input port every time there is an event on trigger port.

sample by overview

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

Settings

No additional configuration is required.