Hub

korolev.effect.Hub
See theHub companion object
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.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

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