cytoplasmic
    Preparing search index...

    Function createInterval

    • Create an emitter that repeatedly emits events with a fixed time delay between each event. The interval doesn't start until the emitter is observed, and stops when there are no more observers.

      Parameters

      • ms: number

        Delay in milliseconds between each event and before the first event.

      • start: boolean = true

        Whether to start the emitter.

      Returns IntervalEmitter

      An emitter.