ixfx
    Preparing search index...

    Function infinity

    • Returns a function that reports an 'infinite' elapsed time. this can be useful as an initialiser for Stopwatch.since et al.

      // Init clicked to be an infinite time
      let clicked = Stopwatch.infinity();

      document.addEventListener('click', () => {
      // Now that click has happened, we can assign it properly
      clicked = Stopwatch.since();
      });

      Returns Flow.Since