Created message.queue (markdown)

ni-richard 2019-09-10 17:51:14 +02:00
parent 2d986b7157
commit 726b28f9ca

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}
]
}
```