

    // Post-processing and determine next action
    abstract post(prepResult: any, execResult: any, sharedState: any): Promise&lt;string&gt;;

    // Required for cloning in parallel execution
    abstract _clone(): BaseNode;
}
</code></pre>
<h3 id="2-flow-parameters">2. Flow Parameters</h3>
<p>Each node can maintain its own parameters:</p>
<pre><code class="language-typescript">class BaseNode {
    public flow_params: any;

    public setParams(params: any): void {
        this.flow_params = params;
   