GitHub

SchedulerRounds

API reference for SchedulerRounds.

A MixedScheduler (scheduler) and how many rounds it has run (count).

Attributes

AttributeTypeDescription
schedulerMixedScheduler

Provide it as CurrentScheduler to the effects whose rounds to count.

countint

The rounds run so far.

Functions

__init__

__init__() -> None
def __init__(self) -> None:
    self._tally = _Tally()
    counted = _counting(MixedScheduler().set_immediate, self._tally)
    self._scheduler = MixedScheduler("async", counted)