footprintjs 9.21.0 → 9.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -561,7 +561,9 @@ export declare class FlowChartBuilder<TOut = any, TScope = any> {
561
561
  * a stage that `interrupt()`s and is resumed is two tagged stops on a chain
562
562
  * because it ran twice, and an EMPTY commit is a tagged stop too. A subflow
563
563
  * mount or a parallel-for-each stage can be tagged; the tag lands on the
564
- * bundle that records its result.
564
+ * bundle that records its result — for a mount, its FIRST bundle in the
565
+ * parent log (the exit bundle carries none), while the subflow's own log
566
+ * is untouched: its inner stages declare their own.
565
567
  *
566
568
  * @example
567
569
  * ```ts
@@ -576,7 +578,11 @@ export declare class FlowChartBuilder<TOut = any, TScope = any> {
576
578
  * preceding `start()` / `addFunction()` / `addStreamingFunction()` /
577
579
  * `addPausableFunction()` / `addSubFlowChartNext()` / `addParallelForEach()`.
578
580
  * Where the cursor would be ambiguous (a decider, selector, branch, or fork
579
- * child), declare the tags in that method's own `tags` option instead.
581
+ * child), declare the tags in that method's own `tags` option instead. A
582
+ * subflow MOUNT has that option too (`SubflowMountOptions.tags`, 9.21.1)
583
+ * — and for a fork-child mount (`addSubFlowChart`) or a branch mount
584
+ * (`addSubFlowChartBranch`) it is the ONLY site: those leave the cursor on
585
+ * the parent, so `.tag()` after them refuses rather than mis-attribute.
580
586
  *
581
587
  * Refused at build time: an empty name, a non-string, the reserved
582
588
  * branch-segment marker `~` inside a name, a name declared twice, and a