From 8740e926cbe468d15e8e29d150107d764403fc6c Mon Sep 17 00:00:00 2001 From: Lucas Carlson Date: Sun, 29 Nov 2026 20:37:59 +0000 Subject: [PATCH] docs: replace stale unschedule rationale Keep that cancelling a missing alarm is not an error and that unschedule() returns nothing. Drop the reason that an answer at call time could be stale by commit. Document that reminder() and reminders() answer whether an alarm is present, including this turn's staged cancels and schedules. See #37 --- docs/api.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index 2909e29..7c453c5 100644 --- a/docs/api.md +++ b/docs/api.md @@ -340,8 +340,9 @@ the turn called them, so cancelling and then scheduling the same name leaves it armed at the new time. Cancelling an alarm that does not exist is not an error. `unschedule()` returns -nothing, because it stages an intent rather than applying one, and an answer -given at call time could be stale by the time the turn commits. +nothing, because it stages an intent rather than applying one. `reminder()` and +`reminders()` answer whether an alarm is present, including this turn's staged +cancels and schedules. A handle is a plain object, so it survives in actor state and still cancels after a deactivation. Passing a handle together with `key` is a `TypeError`,