Passing streams to another function in Stream

Hi guys, in Streams, I want to yield some results from one stream and pass them to another function of the stream inside Effect.gen, but it's not working. What is the best way to pass streams together, similar to what we do with effects in Effect.gen?

  const res = yield* Stream.make(1, 2, 3);
  const res2 = yield* anotherFunctoin(res);
Was this page helpful?