@szilanor/stream
    Preparing search index...

    Function of

    • Returns a Stream that yields the specified entries.

      Type Parameters

      • T

        Type of items in the Stream.

      Parameters

      • ...entries: T[]

        Entries to create the Stream from.

      Returns Stream<T>

      Stream that yields the specified entries.

      const result = of(1, 2, 3);
      console.log([...result]); // [1, 2, 3]