DEE

数据交换


[中断任务]v_3.1

<p><strong>方法签名:</strong> </p> <p><code>interruptTask()</code></p> <p><strong>简要描述:</strong> </p> <ul> <li>使用该函数以后,当前脚本执行完成后自动终止任务</li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">无</td> <td style="text-align: left;"></td> </tr> </tbody> </table> <p><strong>返回值说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">void</td> <td style="text-align: left;">没有返回值</td> </tr> </tbody> </table> <p><strong>使用例子</strong></p> <pre><code>if(false){ println &amp;quot;成功&amp;quot;; } else{ interruptTask(); } println &amp;quot;ok&amp;quot;;</code></pre> <p><strong>输出结果</strong></p> <pre><code>ok</code></pre> <p><strong>备注</strong> </p> <ul> <li>注意:设置该函数后,该脚本的后续代码块会继续执行。该脚本执行完后任务将终止后续的适配器不会执行。</li> </ul>

页面列表

ITEM_HTML