class MultithreadedEffectedOutput[A] extends MultithreadedEffected[Output[A]] with EffectedOutput[A]
- Alphabetic
- By Inheritance
- MultithreadedEffectedOutput
- EffectedOutput
- Output
- GopherAPIProvider
- MultithreadedEffected
- Effected
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- macro def !(a: A): Unit
shortcut for blocking write.
shortcut for blocking write.
- Definition Classes
- Output
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def :=(x: Output[A]): Unit
- Definition Classes
- Effected
- Annotations
- @inline()
- def <<=(f: (Output[A]) => Output[A]): Unit
- Definition Classes
- Effected
- Annotations
- @inline()
- macro def <~(a: A): Output[A]
shortcut for blocking write.
shortcut for blocking write.
- Definition Classes
- Output
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def api: GopherAPI
- Definition Classes
- EffectedOutput → Output → GopherAPIProvider
- def apply(f: (Output[A]) => Output[A]): Unit
- Definition Classes
- MultithreadedEffected → Effected
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def awrite(a: A): Future[A]
- Definition Classes
- Output
- def awriteAll[C <: Iterable[A]](c: C): Future[Unit]
- Definition Classes
- Output
- def cbwrite[B](f: (ContWrite[A, B]) => Option[(A, Future[Continuated[B]])], ft: FlowTermination[B]): Unit
apply f and send result to channels processor.
apply f and send result to channels processor.
- Definition Classes
- EffectedOutput → Output
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def current: Output[A]
- Definition Classes
- MultithreadedEffected → Effected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def pam[B](g: (B) => A): Output[B]
alias for premap
alias for premap
- Definition Classes
- Output
- def premap[C](g: (C) => A): Output[C]
before passing value to output, apply g to one.
before passing value to output, apply g to one.
- Definition Classes
- Output
- def replace(x: Output[A]): Unit
- Definition Classes
- MultithreadedEffected → Effected
- def setv(x: => Output[A]): Unit
- Attributes
- protected[this]
- Definition Classes
- MultithreadedEffected
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unfold[S](s: S)(f: (S) => (S, A)): Unit
- Definition Classes
- Output
- val v: AtomicReference[Output[A]]
- Attributes
- protected[this]
- Definition Classes
- MultithreadedEffected
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withOutputTimeouts(timeout: FiniteDuration): (Output[A], Input[FiniteDuration])
provide pair from Output and Input
(ready, timeouts)
such that writing toready
will case writing tooutput
and if it was not completed during
timeoutstimeout
than appropriative duration will be availabe ininput.
provide pair from Output and Input
(ready, timeouts)
such that writing toready
will case writing tooutput
and if it was not completed during
timeoutstimeout
than appropriative duration will be availabe ininput.
val (chReady, chTimeouts) = ch withOutputTimeouts (5 seconds) select.forever { case x: chReady.write if (x==somethingToWrite) => Console.println(s" ${x} send") case t: chTimeouts.read => Console.println(s"timeout during writing") }
- Definition Classes
- Output
- macro def write(a: A): A
'blocking' write of 'a' to channel.
'blocking' write of 'a' to channel. Note, that this method can be called only inside 'go' or 'async' blocks.
- Definition Classes
- Output
- macro def writeAll[C <: Iterable[A]](it: C): Unit
- Definition Classes
- Output
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated