All challenges
Code AnalysisHard 60s

Saga vs Process Manager

class OrderSaga: def handle(self, evt): if evt == 'PaymentFailed': self.state = 'awaiting_payment' self.timer(30s, 'RetryPayment') if self.timer_fired and self.retries > 3: self.command('CancelOrder') This component holds state and drives long-lived decisions with timers. Which term best fits it?

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle