Closed Max-Meldrum closed 2 years ago
Currently, it is possible to give the key to the timer. This should be set by the runtime.
One timer per (key, timestamp) data point.
pub fn schedule_at<I: Into<u64>>( &mut self, key: I, time: u64, entry: TimerState, ) -> TimerResult<TimerState> { self.timer.schedule_at(key.into(), time, entry) }
Currently, it is possible to give the key to the timer. This should be set by the runtime.
One timer per (key, timestamp) data point.