Timer
Summary
Trigger an event on a set interval. The length of the interval may be configured in Settings -> Parameters The number of events may also be capped.
For example, the events generated by this function could trigger a database backup every 24h.


(86 400 000ms = 24h)
Ports
If the interval in Settings -> Parameter is configured to be n milliseconds, then an event will be routed to the out port once every n milliseconds.
Input/Output Format
The produced event has the following shape {value: n} where n is how many times the timer already has triggered. I.e. the first few events will in order look like, {value: 0}, {value: 1}, {value: 2}, and so on.
Events
This function does not listen for, nor emits any events.
Updated 8 months ago
