ixfx
    Preparing search index...

    Function splitLabelled

    • Splits source into several duplicated streams. Returns an object with keys according to labels. Each value is a stream which echos the values from source.

      const { a, b, c} = splitLabelled(source, `a`, `b`, `c`);
      // a, b, c are Reactive types

      See also split to get an unlabelled split

      Type Parameters

      • T
      • KextendsPropertyKey

      Parameters

      Returns Record<K, Reactive<T>>