Skip to content

0.1.0 batch 4: add Grain Timers #105

Description

@suraciii

Goal

Add Activation-local Grain Timers with serialized callback behavior.

Scope

  • Add register, change, stop, one-shot, repeat, and keep-alive behavior.
  • Deliver callbacks through the Grain mailbox.
  • Stop all Grain Timers when the Activation ends.
  • Report callback errors and contain callback panics.

Acceptance

  • A callback never overlaps a Call or itself.
  • Repeat time starts after callback completion.
  • Change, Stop, and deactivation control later ticks.
  • Fake-clock tests contain no sleeps.
  • The conformance Application uses the public API.
  • make ci passes.

References

design/release-0.1.0.md
design/timers.md
design/runtime.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions