From 726b28f9ca191944262b542a15e48bec49590b42 Mon Sep 17 00:00:00 2001 From: ni-richard Date: Tue, 10 Sep 2019 17:51:14 +0200 Subject: [PATCH] Created message.queue (markdown) --- message.queue.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 message.queue.md diff --git a/message.queue.md b/message.queue.md new file mode 100644 index 0000000..5d739b9 --- /dev/null +++ b/message.queue.md @@ -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} + ] +} +``` \ No newline at end of file