Hub

final class Hub[F[_], T](upstream: Stream[F, T], bufferSize: Int)(implicit evidence$1: Effect[F])

A function which returns new streams which contains same elements as the parent stream. This is helpful when you want to consume content of the stream in few different places.

Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def newStream(): F[Stream[F, T]]
def newStreamUnsafe(): Stream[F, T]