emission-graph-untracked-join-pruned.ts 321 B

12345
  1. // A Promise.all over untracked string literals whose result is DISCARDED: the join
  2. // ends with no incident edges and must be pruned from the site graph. The unrelated
  3. // ask keeps the graph nonempty: source -> ask#1 -> sink; no join node at all.
  4. await Promise.all(["a", "b"]);
  5. return agent("solo").ask<string>("done");