Beispiel #1
0
 def __post_init__(self):
     if not self.workflow_clock:
         self.workflow_clock = ClockDecisionContext(self.decider, self)
Beispiel #2
0
def clock_decision_context(decider):
    context = ClockDecisionContext(decider=decider)
    context.set_replay_current_time_milliseconds(REPLAY_CURRENT_TIME_MS)
    return context