switch timer and interval to new namespace

This commit is contained in:
Joel Wetzell
2025-12-26 11:22:45 -06:00
parent 1c6ab9f47e
commit 324176f0ac
3 changed files with 8 additions and 8 deletions
+19
View File
@@ -0,0 +1,19 @@
---
title: Timer
sidebar:
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
### Example snippet
Emits a message 5 seconds after the module is initialized
```
- id: 5secs
type: time.timer
params:
duration: 5000
```