makeTimerWithFrequency static method

Stream<bool> makeTimerWithFrequency(
  1. Frequency f
)

Makes a stream that can be used to control the rate of automatic thumps.

Implementation

static Stream<bool> makeTimerWithFrequency(Frequency f) =>
    Stream.periodic(f.period, (k) => _arbitraryBoolean);