trait WriterTopic[W, I, O] extends AnyRef
Like a Topic, but allows to specify Writer1 to eventually write the state W or produce O
from arriving messages of I to this topic
- Source
- WriterTopic.scala
- Alphabetic
- By Inheritance
- WriterTopic
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
publish: Sink[Task, I]
Gets publisher to this writer topic.
Gets publisher to this writer topic. There may be multiple publishers to this writer topic.
-
abstract
def
publishOne(i: I): Task[Unit]
Publishes single
Ito this writer topic. -
abstract
def
signal: immutable.Signal[W]
Provides signal of
Wvalues as they were emitted by Writer1 of this Writer topic -
abstract
def
subscribe: Writer[Task, W, O]
Gets subscriber from this writer topic.
Gets subscriber from this writer topic. There may be multiple subscribers to this writer topic. Subscriber subscribes and un-subscribes when it is run or terminated.
If writer topic has
Wwritten, it will be first value written by this topic, following anyBorWproduced after. -
abstract
def
subscribeO: Process[Task, O]
Subscribes to
Ovalues from this writer topic only. -
abstract
def
subscribeW: Process[Task, W]
Subscribes to
Wvalues only from this Writer topic
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from WriterTopic[W, I, O] to any2stringadd[WriterTopic[W, I, O]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (WriterTopic[W, I, O], B)
- Implicit
- This member is added by an implicit conversion from WriterTopic[W, I, O] to ArrowAssoc[WriterTopic[W, I, O]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
close: Task[Unit]
Will
closethis writer topic.Will
closethis writer topic. Onceclosedall publishers and subscribers are halted viaEnd. -
def
ensuring(cond: (WriterTopic[W, I, O]) ⇒ Boolean, msg: ⇒ Any): WriterTopic[W, I, O]
- Implicit
- This member is added by an implicit conversion from WriterTopic[W, I, O] to Ensuring[WriterTopic[W, I, O]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (WriterTopic[W, I, O]) ⇒ Boolean): WriterTopic[W, I, O]
- Implicit
- This member is added by an implicit conversion from WriterTopic[W, I, O] to Ensuring[WriterTopic[W, I, O]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): WriterTopic[W, I, O]
- Implicit
- This member is added by an implicit conversion from WriterTopic[W, I, O] to Ensuring[WriterTopic[W, I, O]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): WriterTopic[W, I, O]
- Implicit
- This member is added by an implicit conversion from WriterTopic[W, I, O] to Ensuring[WriterTopic[W, I, O]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fail(err: Throwable): Task[Unit]
Will
failthis writer topic.Will
failthis writer topic. All subscribers and publishers are immediately terminated withErrorcause.The resulting task is completed _after_ all publishers and subscribers finished
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from WriterTopic[W, I, O] to StringFormat[WriterTopic[W, I, O]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
kill: Task[Unit]
Kills the writer topic.
Kills the writer topic. All subscribers and publishers are immediately terminated with
Killcause. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (WriterTopic[W, I, O], B)
- Implicit
- This member is added by an implicit conversion from WriterTopic[W, I, O] to ArrowAssoc[WriterTopic[W, I, O]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc