Skip to content

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
@xPaw xPaw removed this from the 3.0.0 milestone Nov 7, 2024
@xPaw
Copy link
Member

xPaw commented Nov 16, 2024

System.Threading.Tasks.Dataflow doesn't seem to support this just yet

Is this for WaitForCallback( TimeSpan timeout )? Can it be worked around by testing WaitForCallbackAsync( CancellationToken cancellationToken = default ) instead?

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.

3 participants