clockblocks.utilities.fork
- clockblocks.utilities.fork(process_function: Callable, args: Sequence = (), kwargs: Optional[dict] = None, name: Optional[str] = None, initial_rate: Optional[float] = None, initial_tempo: Optional[float] = None, initial_beat_length: Optional[float] = None, schedule_at: Optional[Union[float, MetricPhaseTarget]] = None, done_callback: Optional[Callable] = None) Clock [source]
Spawns a parallel process running on a child clock of the currently active clock.
- Parameters:
- Returns:
the clock of the newly forked process