This commit is contained in:
Joel Wetzell
2026-05-17 21:12:04 -05:00
parent 69bc31d3f1
commit 8e6cd58006
82 changed files with 642 additions and 450 deletions
+6 -3
View File
@@ -1,19 +1,22 @@
---
title: Timer
sidebar:
order: 1
order: 1
---
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
- **duration**: time in milliseconds to wait before emitting message
### Example snippet
Emits a message 5 seconds after the module is initialized
```yaml
- id: 5secs
type: time.timer
params:
duration: 5000
```
```