Skip to content

Conversation

@stephentoub
Copy link
Member

  • Consistently null check the Timer stored in the state object
  • Complete the a task canceled due to the CancellationToken with the CancellationToken
  • Avoid an unnecessary closure in Delay
  • Make TimeProvider.System.CreateTimer use Timer's ctor that takes duration/period rather than making a separate call to Change

- Consistently null check the Timer stored in the state object
- Complete the a task canceled due to the CancellationToken with the CancellationToken
- Avoid an unnecessary closure in Delay
- Make TimeProvider.System.CreateTimer use Timer's ctor that takes duration/period rather than making a separate call to Change
@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Apr 25, 2023
@ghost ghost assigned stephentoub Apr 25, 2023
@tarekgh tarekgh added area-System.DateTime and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Apr 25, 2023
@tarekgh tarekgh added this to the 8.0.0 milestone Apr 25, 2023
@ghost
Copy link

ghost commented Apr 25, 2023

Tagging subscribers to this area: @dotnet/area-system-datetime
See info in area-owners.md if you want to be subscribed.

Issue Details
  • Consistently null check the Timer stored in the state object
  • Complete the a task canceled due to the CancellationToken with the CancellationToken
  • Avoid an unnecessary closure in Delay
  • Make TimeProvider.System.CreateTimer use Timer's ctor that takes duration/period rather than making a separate call to Change
Author: stephentoub
Assignees: stephentoub
Labels:

area-System.DateTime

Milestone: -

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants