Skip to content

[Docs] Add cancellationToken to all C# handler examples#2735

Merged
rido-min merged 1 commit intomainfrom
rido/update-dotnet-ct
Apr 3, 2026
Merged

[Docs] Add cancellationToken to all C# handler examples#2735
rido-min merged 1 commit intomainfrom
rido/update-dotnet-ct

Conversation

@rido-min
Copy link
Copy Markdown
Member

@rido-min rido-min commented Apr 3, 2026

Summary

  • Adds cancellationToken parameter to all C# handler lambda signatures across 18 doc include files
  • Passes cancellationToken to all async SDK calls (Send, Typing, SignIn, SignOut, SendAsync)
  • Covers essentials, getting-started, in-depth-guides (AI, adaptive cards, meeting events, user auth), and migration docs

Test plan

  • npm run generate:docs succeeds with 0 content gaps
  • Grep confirms no remaining async handlers without cancellationToken in generated docs
  • Visual review of rendered docs

🤖 Generated with Claude Code

All C# doc examples now consistently pass cancellationToken through
handler lambdas and into async SDK calls (Send, Typing, SignIn, etc.),
matching the pattern established in the sending-messages docs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rido-min rido-min requested a review from corinagum April 3, 2026 01:22
@rido-min rido-min merged commit f393932 into main Apr 3, 2026
2 checks passed
@rido-min rido-min deleted the rido/update-dotnet-ct branch April 3, 2026 16:50
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