Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add filter #507

Closed
Closed

Conversation

sahma19
Copy link
Collaborator

@sahma19 sahma19 commented Jan 29, 2025

No description provided.

@sahma19 sahma19 self-assigned this Jan 29, 2025
@sahma19 sahma19 marked this pull request as ready for review January 29, 2025 14:38

context.GetOrAddPayload(() => new RandomDelayPayload { Delay = delay });

await Task.Delay(delay);

Choose a reason for hiding this comment

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

If this is indeed the solution, then why don't we simply add the await Task.Delay(randomSecondsBetweenXAndY); in the command handler?
(This task could be a two-liner :))

@sahma19 sahma19 closed this Jan 30, 2025
@sahma19 sahma19 deleted the add-random-delay-filter-to-claim-command-message branch January 30, 2025 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants