Skip to content

Conversation

mockersf
Copy link
Member

@mockersf mockersf commented Oct 13, 2025

Objective

  • Time falls a bit short of some scenarios:
    • It's backed by a Duration, it can be hard to use as a number of steps since beginning
    • It's monotonic, so travelling backward in time for replay is not possible

Solution

  • Make Time generic over the type used to back the impl
  • Add new contexts that can travel back in time

@mockersf mockersf added the A-Time Involves time keeping and reporting label Oct 13, 2025
@alice-i-cecile alice-i-cecile added C-Feature A new feature, making something new possible M-Needs-Release-Note Work that should be called out in the blog due to impact S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Oct 14, 2025
Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

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

Broadly in favor of this design, and the feature itself. This would be useful for simulation. Needs more docs, examples and a quick release note before I can approve or give a full review though.

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

Labels

A-Time Involves time keeping and reporting C-Feature A new feature, making something new possible M-Needs-Release-Note Work that should be called out in the blog due to impact S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants