</li>
</ul>
<blockquote>
<p><strong>Warning:</strong><br />
<code>node.runAsync(sharedState)</code> <strong>does not</strong> proceed automatically to the successor and may use incorrect parameters.<br />
Always use <code>flow.runAsync(sharedState)</code> in production.</p>
</blockquote>
<h2 id="3-nested-flows">3. Nested Flows</h2>
<p>A <strong>Flow</strong> can act like a Node, enabling powerful composition patterns:</p>
<pre><code class="language-typescript">// Define sub-flow nodes
const nodeA = new Node