mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-25 02:41:31 +00:00
Created message.queue (markdown)
parent
2d986b7157
commit
726b28f9ca
27
message.queue.md
Normal file
27
message.queue.md
Normal file
@ -0,0 +1,27 @@
|
||||
* **Description**: Extracts the messages in the queue, and sends them delayed according to the set WPM to seem more real.
|
||||
* **Subscribers**: [MessageQueueHandler](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/MessageQueueHandler)
|
||||
|
||||
```json
|
||||
{
|
||||
"key": "message.queue",
|
||||
"intent": "control",
|
||||
"scope": "zmq"
|
||||
}
|
||||
```
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| ------------ |:--------:|:------------------:| --------------------------- |
|
||||
| *messages* | `array` | :heavy_check_mark: | List of messages in the format specified at [message.send](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/message.send) without the key. |
|
||||
|
||||
***
|
||||
|
||||
**Example**:
|
||||
```json
|
||||
{
|
||||
"key": "message.queue",
|
||||
"messages": [
|
||||
{"message": "Hi there, fellow human!"},
|
||||
{"message": "Like many of you, I also enjoy perambulating around to observe my environment.", "wpm": 70}
|
||||
]
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue
Block a user