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

Use System.TimeProvider to control time #1432

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

yaakov-h
Copy link
Member

This PR introduces use of TimeProvider (hooray for net8.0) to control time.

This can be configured via SteamConfiguration and allows for time to be slowed, sped up, paused, skipped, etc. to make some functions easier to test.

@yaakov-h
Copy link
Member Author

System.Threading.Tasks.Dataflow doesn't seem to support this just yet so I can't easily hook it in to callback timeouts. I think.

@xPaw xPaw added this to the 3.0.0 milestone Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants