Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • sampleRate: The rate elements are send (i.e. 1 means, send every element, 10 means, send every 10th element). Not to be used with timeValue.
  • timeValue: The advance of time elements are send (i.e. [ 30, 'second' ] means, send every 30 seconds) sampleRate.

Example

Code Block
languagejavascript
/// send every second element
out = SAMPLE({sampleRate = 2}, input}
 
/// send elements every second
out = SAMPLE({timeValue = [1, ‘second’]}, input}