Observe

tyrian.Sub.Observe
See theObserve companion class
object Observe

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Observe.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[F[_] : Sync, A, Msg, R](id: String, acquire: (Either[Throwable, A] => Unit) => F[R], release: R => F[Unit], toMsg: A => Option[Msg]): Sub[F, Msg]

Construct a cancelable observable sub by describing how to acquire and release the resource, and optionally produce a message

Construct a cancelable observable sub by describing how to acquire and release the resource, and optionally produce a message

Attributes

def apply[F[_], A](id: String, observable: F[(Either[Throwable, A] => Unit) => F[Option[F[Unit]]]]): Sub[F, A]

Construct a cancelable observable sub of a value

Construct a cancelable observable sub of a value

Attributes