trait
Publish[-R, +E, -T] extends AnyRef
Abstract Value Members
-
abstract
def
publish(t: T): ZIO[R, E, Unit]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
catchAll[R1 <: R](fn: (E) ⇒ ZIO[R1, Nothing, Unit]): Publish[R1, Nothing, T]
-
def
clone(): AnyRef
-
def
contraFlatMap[R1 <: R, E1 >: E, U](fn: (U) ⇒ ZIO[R1, E1, T]): Publish[R1, E1, U]
-
def
contramap[U](fn: (U) ⇒ T): Publish[R, E, U]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
provide(env: R): Publish[Any, E, T]
-
def
publishAll(ts: Iterable[T]): ZIO[R, E, Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
tap[R1 <: R, E1 >: E, T1 <: T](into: Publish[R1, E1, T1]): Publish[R1, E1, T1]
-
def
tap[R1 <: R, E1 >: E, T1 <: T](into: (T1) ⇒ ZIO[R1, E1, Unit]): Publish[R1, E1, T1]
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Captures only the ability to Publish, but without the ability to subscribe. This means it can be contravariant.