Closed Max-Meldrum closed 2 years ago
When handling timeouts, we need to also get back the key used so that we can set up the OperatorContext properly. Things may go very wrong now if timers or state calls are used within handle_timeout.
handle_timeout
fn handle_timeout( &mut self, timeout: Self::TimerState, ctx: &mut OperatorContext<Self::TimerState, Self::OperatorState>, ) -> ArconResult<Option<Self::ElementIterator>>;
When handling timeouts, we need to also get back the key used so that we can set up the OperatorContext properly. Things may go very wrong now if timers or state calls are used within
handle_timeout
.