mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-05-13 21:14:17 +00:00
add more processor documentation
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
---
|
||||
title: Sleep
|
||||
sidebar:
|
||||
order: 1
|
||||
---
|
||||
The `time.sleep` processor will sleep for the specified `duration` in milliseconds before passing the message to the next processor.
|
||||
|
||||
- **type**: `time.sleep`
|
||||
- **params**:
|
||||
- **duration**: the duration to sleep in milliseconds
|
||||
|
||||
### Example
|
||||
This would sleep for 5 seconds before passing the message to the next processor.
|
||||
```
|
||||
- type: time.sleep
|
||||
params:
|
||||
duration: 5000
|
||||
```
|
||||
Reference in New Issue
Block a user