2017-03-28 17:23:01 -04:00
|
|
|
[[condition-never]]
|
|
|
|
=== Never Condition
|
|
|
|
|
|
|
|
Use the `never` condition to set the condition to `false`. This means the
|
|
|
|
watch actions are never executed when the watch is triggered. The watch input is
|
|
|
|
executed, a record is added to the watch history, and the watch execution ends.
|
|
|
|
This condition is generally used for testing.
|
|
|
|
|
|
|
|
==== Using the Never Condition
|
|
|
|
|
|
|
|
There are no attributes to specify for the `never` condition. To use the it,
|
|
|
|
you specify the condition type and associate it with an empty object:
|
|
|
|
|
|
|
|
[source,js]
|
|
|
|
--------------------------------------------------
|
|
|
|
"condition" : {
|
|
|
|
"never" : {}
|
|
|
|
}
|
|
|
|
--------------------------------------------------
|
2018-06-22 21:09:37 -04:00
|
|
|
// NOTCONSOLE
|