SpacetimeDB
SpacetimeDB copied to clipboard
FEATURE REQUEST: ScheduleAt::Delay
From @SteveBoytsun:
it would be nice to have a
ScheduleAt::Delayoption that works likeScheduleAt::Timebut with relative offset (so we can schedule a one-off timer like soScheduleAt::Delay(Duration::from_secs(secs))instead ofScheduleAt::Time(Timestamp::now().checked_add(Duration::from_secs(secs)).unwrap().into_micros_since_epoch()))
We will implement this as a helper method (not a new enum variant).