Skip to content

Commit

Permalink
updates help with timeout and custom payload config info
Browse files Browse the repository at this point in the history
  • Loading branch information
kareem613 committed Nov 22, 2019
1 parent 91794b8 commit 56cef9d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions sequence-detector.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,21 @@ <h3>Outputs</h3>
<dl class="message-properties">
<dt>payload <span class="property-type">string</span></dt>
<dd>the message payload sent when the sequence detector resets and starts looking for the first element of the sequence again. The output is <code>reset</code>.</dd>
<dd>the message payload sent when the sequence detector reached the timeout limit and starts looking for the first element of the sequence again. The output is <code>timeout</code>.</dd>
</dl>
<p><code>match</code>, <code>reset</code>, and <code>timeout</code> output message payloads can be configured.</p>
</li>


</ol>

<h3>Details</h3>
<p><code>msg.payload</code> or <code>msg.topic</code> or both can be used.
Messages will be inspected and if a series of messages matches the configured sequence in the exact order,
a <code>match</code> message will be sent. </p>
<p>If any message breaks the sequence, the detector will reset and start to look for the configured sequence from the first element of the sequence again.
A <code>reset</code> message will be sent.
</p>
A <code>reset</code> message will be sent.</p>
<p>If the configured timeout elapsed, and <code>timeout</code> message will be sent.</p>

</script>

Expand Down

0 comments on commit 56cef9d

Please sign in to comment.