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
- Alphabetic
- By Inheritance
- WriterTopic
- AnyRef
- Any
- 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
-
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. -
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] )
-
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( ... )