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.

Schema

  • description: Fires an event after the specified duration
  • type: time.timer
  • params:
    • duration: time in milliseconds before the timer fires

Emits a message 5 seconds after the module is initialized

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