mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
53 lines
3.2 KiB
HTML
53 lines
3.2 KiB
HTML
<!--
|
||
Copyright JS Foundation and other contributors, http://js.foundation
|
||
|
||
Licensed under the Apache License, Version 2.0 (the "License");
|
||
you may not use this file except in compliance with the License.
|
||
You may obtain a copy of the License at
|
||
|
||
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
||
Unless required by applicable law or agreed to in writing, software
|
||
distributed under the License is distributed on an "AS IS" BASIS,
|
||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
See the License for the specific language governing permissions and
|
||
limitations under the License.
|
||
-->
|
||
|
||
<script type="text/html" data-help-name="link in">
|
||
<p>在流之间创建虚拟连线。</p>
|
||
<h3>详细</h3>
|
||
<p>该节点可以连接到任何标签页上存在的任何<code>link out</code>节点。连接后,它们的行为就像连接在一起。</p>
|
||
<p>仅当选择链接节点时,才会显示链接节点之间的链接。如果有指向另一个选项卡的链接,则显示一个虚拟节点。单击该虚拟节点将带您到相应的选项卡。</p>
|
||
<p><b>注意:</b>无法创建进入或离开子流的链接。</p>
|
||
</script>
|
||
|
||
<script type="text/html" data-help-name="link out">
|
||
<p>在流之间创建虚拟连线。</p>
|
||
<h3>详细</h3>
|
||
<p>该节点可以连接到任何标签页上存在的任何<code>link in</code>节点。连接后,它们的行为就像连接在一起。</p>
|
||
<p>仅当选择链接节点时,才会显示链接节点之间的链接。如果有指向另一个选项卡的链接,则显示一个虚拟节点。单击该虚拟节点将带您到相应的选项卡。</p>
|
||
<p><b>注意:</b>无法创建进入或离开子流的链接。</p>
|
||
</script>
|
||
|
||
<script type="text/html" data-help-name="link call">
|
||
<p>调用以 <code>link in</code> 节点开始的流程并传递响应。</p>
|
||
<h3>输入</h3>
|
||
<dl class="message-properties">
|
||
<dt class="optional">target<span class="property-type">字符串</span></dt>
|
||
<dd>当选项<b>链接类型</b>设置为“动态目标”时,将<code>msg.target</code>设置为您的<code>链接</code>节点的名称调用。</dd>
|
||
</dl>
|
||
<h3>详细</h3>
|
||
<p>此节点可以连接到任何选项卡上存在的<code>link in</code>节点。 连接到该节点的流必须以配置为“返回”模式的<code>link out</code>节点结束。</p>
|
||
<p>当该节点收到消息时,会将其传递到所连接的 <code>link in</code> 节点。 然后它等待响应,然后发送响应。</p>
|
||
<p>如果在配置的超时(默认 30 秒)内未收到响应,节点将记录一个错误,可以使用 <code>catch</code> 节点捕获该错误。</p>
|
||
<p>当选项<b>链接类型</b>设置为“动态目标”时,<code>msg.target</code>可用于按名称或名称调用<code>链接</code> ID。
|
||
<ul>
|
||
<li>如果</code>节点中存在具有相同id的<code>链接,则会调用</li>
|
||
<li>如果有两个或多个 <code>link in</code> 节点具有相同的名称,则会引发错误</li>
|
||
<li><code>链接调用</code>无法调用子流内的<code>link in</code>节点</li>
|
||
</ul>
|
||
</p>
|
||
连接到该节点的流必须以配置为“返回”模式的<code>link out</code>节点结束。</p>
|
||
</script>
|