Versions Compared

Key

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

Parameter

  • time: The time (in ms) this operator should wait before each element is sent to the next operator.


Example

Code Block
#PARSER PQL
#ADDQUERY
bidsWindow = TIMEWINDOW({
                  size=[80, 'MILLISECONDS'],
                  advance=[80, 'MILLISECONDS']
                },
                bid
              )
              
sleep = SLEEP({TIME = 1000}, bidsWindow)              


same can be done with the map function sleep

Code Block
map = MAP({EXPRESSIONS = ['sleep(1000)']}, buffer)