Skip to content

Conversation

@danielmarbach
Copy link
Contributor

@danielmarbach danielmarbach commented Jan 13, 2026

Follow through on #7556

Related to
#7563

@danielmarbach danielmarbach marked this pull request as ready for review January 13, 2026 18:08
@danielmarbach danielmarbach marked this pull request as draft January 13, 2026 18:14
@danielmarbach
Copy link
Contributor Author

Given this PR is not really necessary for v10 I marked it as a draft

public Task Handle(MyMessage message, IMessageHandlerContext context)
{
Interlocked.Increment(ref testContext.TotalHandledMessages);
var count = Interlocked.Increment(ref testContext.TotalHandledMessages);
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason for declaring the variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It could also be inlined

@danielmarbach danielmarbach marked this pull request as ready for review January 14, 2026 20:01
@danielmarbach danielmarbach merged commit 75a3076 into master Jan 15, 2026
4 checks passed
@danielmarbach danielmarbach deleted the done_conditions branch January 15, 2026 09:55
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.

4 participants