Skip to content

Timer

The time.timer module emits only one message after a specified duration. Sending any message to this module will reset the timer.

  • type: time.timer
  • params:
    • duration: time in milliseconds to wait before emitting message

Emits a message 5 seconds after the module is initialized

- id: 5secs
type: time.timer
params:
duration: 5000