We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ddf6d7 commit 6c5b662Copy full SHA for 6c5b662
worker/src/durable.rs
@@ -626,11 +626,11 @@ enum ScheduledTimeInit {
626
Offset(f64),
627
}
628
629
-/// Determines when a Durable Object alarm should be ran, based on a timestamp or offset.
+/// Determines when a Durable Object alarm should be ran, based on a timestamp or offset in milliseconds.
630
///
631
/// Implements [`From`] for:
632
-/// - [`Duration`], interpreted as an offset.
633
-/// - [`i64`], interpreted as an offset.
+/// - [`Duration`], interpreted as an offset (in milliseconds).
+/// - [`i64`], interpreted as an offset (in milliseconds).
634
/// - [`DateTime`], interpreted as a timestamp.
635
636
/// When an offset is used, the time at which `set_alarm()` or `set_alarm_with_options()` is called
0 commit comments