Observe

object Observe
Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any
Observe.type

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

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

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