Skip to content

docs: document repeating callback invocations (For)#449

Merged
vbreuss merged 2 commits intomainfrom
topic/document-for-callbacks
Feb 1, 2026
Merged

docs: document repeating callback invocations (For)#449
vbreuss merged 2 commits intomainfrom
topic/document-for-callbacks

Conversation

@vbreuss
Copy link
Contributor

@vbreuss vbreuss commented Feb 1, 2026

This PR adds documentation for the For method, which controls how many times a callback should be repeated. The documentation also reorganizes existing callback control features with clearer headings and examples.

Changes:

  • Added new section documenting the For method for repeating callbacks a specific number of times
  • Reorganized callback control documentation with clearer section titles (When, Only, For)
  • Added Forever subsection explaining indefinite repetition for sequences

@vbreuss vbreuss self-assigned this Feb 1, 2026
Copilot AI review requested due to automatic review settings February 1, 2026 05:54
@vbreuss vbreuss added the documentation Improvements or additions to documentation label Feb 1, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds documentation for the For method, which controls how many times a callback should be repeated. The documentation also reorganizes existing callback control features with clearer headings and examples.

Changes:

  • Added new section documenting the For method for repeating callbacks a specific number of times
  • Reorganized callback control documentation with clearer section titles (When, Only, For)
  • Added Forever subsection explaining indefinite repetition for sequences

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
README.md Added For method documentation and reorganized callback control sections with clearer headings
Docs/pages/advanced-features/02-advanced-callback-features.md Added For method documentation and reorganized callback control sections with clearer headings

@vbreuss vbreuss force-pushed the topic/document-for-callbacks branch from 1953da6 to 9e248d5 Compare February 1, 2026 05:58
@vbreuss vbreuss enabled auto-merge (squash) February 1, 2026 05:58
@github-actions
Copy link

github-actions bot commented Feb 1, 2026

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763 2.78GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.102
[Host] : .NET 10.0.2 (10.0.2, 10.0.225.61305), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Method Mean Error StdDev Gen0 Gen1 Allocated
Simple_Mockolate 1.605 μs 0.0224 μs 0.0210 μs 0.2270 - 3.73 KB
Simple_Moq 178.937 μs 1.7290 μs 1.6173 μs 0.4883 - 14.55 KB
Simple_NSubstitute 5.803 μs 0.0482 μs 0.0451 μs 0.5569 0.0076 9.14 KB
Simple_FakeItEasy 6.752 μs 0.0502 μs 0.0445 μs 0.4959 - 8.11 KB

@vbreuss vbreuss force-pushed the topic/document-for-callbacks branch from 9e248d5 to 656bd3b Compare February 1, 2026 06:01
Copilot AI review requested due to automatic review settings February 1, 2026 06:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 1, 2026

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

Test Results

    21 files  ±0      21 suites  ±0   6m 1s ⏱️ +46s
 2 518 tests ±0   2 517 ✅ ±0  1 💤 ±0  0 ❌ ±0 
16 807 runs  ±0  16 806 ✅ ±0  1 💤 ±0  0 ❌ ±0 

Results for commit 656bd3b. ± Comparison against base commit f6e2ebe.

@vbreuss vbreuss merged commit 466708f into main Feb 1, 2026
12 checks passed
@vbreuss vbreuss deleted the topic/document-for-callbacks branch February 1, 2026 06:07
@github-actions
Copy link

github-actions bot commented Feb 1, 2026

This is addressed in release v1.2.0.

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

Labels

documentation Improvements or additions to documentation state: released The issue is released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments