Skip to content

Expand the Emit Step reference section - #3724

Merged
spmallette merged 1 commit into
apache:masterfrom
spmallette:tp-docs-emit-step-is-a-two-sentence-stub-zero-ex
Oct 15, 2026
Merged

spmallette merged 1 commit into
apache:masterfrom
spmallette:tp-docs-emit-step-is-a-two-sentence-stub-zero-ex

Conversation

@spmallette

Copy link
Copy Markdown
Contributor

The Emit Step section was a two-sentence stub that deferred entirely to repeat(). Expand it to explain what emitting a traverser means inside a repeat() loop, the difference between a bare emit() and emit(Predicate)/ emit(Traversal), and how the position of emit() relative to repeat() determines pre-iteration versus post-iteration emission. Add live modern graph examples contrasting emit() before and after repeat() and a conditional emit(has('name','lop')) example.

The Emit Step section was a two-sentence stub that deferred entirely to
repeat(). Expand it to explain what emitting a traverser means inside a
repeat() loop, the difference between a bare emit() and emit(Predicate)/
emit(Traversal), and how the position of emit() relative to repeat()
determines pre-iteration versus post-iteration emission. Add live modern
graph examples contrasting emit() before and after repeat() and a
conditional emit(has('name','lop')) example.

Assisted-by: Kiro:claude-opus-4.8
@spmallette
spmallette merged commit 3001c22 into apache:master Oct 15, 2026
6 checks passed
@spmallette
spmallette deleted the tp-docs-emit-step-is-a-two-sentence-stub-zero-ex branch October 15, 2026 16:28
@codecov-commenter

codecov-commenter commented Oct 15, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.76%. Comparing base (a28cd1f) to head (d1331c7).
⚠️ Report is 733 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3724      +/-   ##
============================================
+ Coverage     76.35%   76.76%   +0.40%     
- Complexity    13424    14353     +929     
============================================
  Files          1012     1037      +25     
  Lines         60341    64819    +4478     
  Branches       7075     7704     +629     
============================================
+ Hits          46076    49757    +3681     
- Misses        11548    11969     +421     
- Partials       2717     3093     +376     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants