module documentation

Groups of timers that may be paused, resumed, or time-scaled together.

Class BranchManager A BranchManager controls a group of timers in a branch scheduler created with branch; pausing the passage of time in the branch, unpausing it, or making its relative rate of progress faster or slower.
Class NoScale Undocumented
Class Scale A Scale defines a translation between a branch (i.e., "child") time scale, and a trunk (i.e., "parent") time scale.
Function branch Derive a branch (child) scheduler from a trunk (parent) scheduler.
Function timesFaster Scale a float time-scale by factor. e.g., in :
Type Variable DT Undocumented
Type Variable WhenT Undocumented
Class _BranchDriver Implementation of TimeDriver for Scheduler that is stacked on top of another Scheduler.
Class _Deltable Undocumented
Class _FloatScale No summary
Function _subtract Undocumented
Type Variable _BranchFloat Undocumented
Type Variable _BranchTime Undocumented
Type Variable _F Undocumented
Type Variable _TrunkDelta Undocumented
Type Variable _TrunkFloat Undocumented
Type Variable _TrunkTime Undocumented

Derive a branch (child) scheduler from a trunk (parent) scheduler.

def timesFaster(factor: float) -> Scale[float, float, float]: (source)

Scale a float time-scale by factor. e.g., in :

    manager, branched = branch(trunk, timesFaster(3.0))

branched will be a branch scheduler running 3 times faster than trunk.

Undocumented

Value
TypeVar('DT')

Undocumented

Value
TypeVar('WhenT',
        bound=_Deltable[Any])
def _subtract(someFloat: _F, other: _F) -> _F: (source)

Undocumented

_BranchFloat = (source)

Undocumented

Value
TypeVar('_BranchFloat',
        bound=float)
_BranchTime = (source)

Undocumented

Value
TypeVar('_BranchTime',
        bound=PriorityComparable)

Undocumented

Value
TypeVar('_F',
        bound=float)
_TrunkDelta = (source)

Undocumented

Value
TypeVar('_TrunkDelta')
_TrunkFloat = (source)

Undocumented

Value
TypeVar('_TrunkFloat',
        bound=float)
_TrunkTime = (source)

Undocumented

Value
TypeVar('_TrunkTime',
        bound=PriorityComparable)