Combine

tyrian.Sub.Combine
final case class Combine[F[_], Msg](sub1: Sub[F, Msg], sub2: Sub[F, Msg]) extends Sub[F, Msg]

Merge two subscriptions into a single one

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Sub[F, Msg]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def map[OtherMsg](f: Msg => OtherMsg): Sub[F, OtherMsg]

Transforms the type of messages produced by the subscription

Transforms the type of messages produced by the subscription

Attributes

def toBatch: Batch[F, Msg]

Inherited methods

def combine[F2[x], LubMsg >: Msg](other: Sub[F2, LubMsg]): Sub[F2, LubMsg]

Infix operation for combining two Subs into one.

Infix operation for combining two Subs into one.

Attributes

Inherited from:
Sub

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def |+|[F2[x], LubMsg >: Msg](other: Sub[F2, LubMsg]): Sub[F2, LubMsg]

Infix operator for combining two Subs into one.

Infix operator for combining two Subs into one.

Attributes

Inherited from:
Sub