class SinglethreadedEffectedOutput[A] extends SinglethreadedEffected[Output[A]] with EffectedOutput[A]
- Alphabetic
- By Inheritance
- SinglethreadedEffectedOutput
- EffectedOutput
- Output
- GopherAPIProvider
- SinglethreadedEffected
- Effected
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- SinglethreadedEffected → 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
current: Output[A]
- Definition Classes
- SinglethreadedEffected → Effected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
- SinglethreadedEffected → Effected
-
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
-
var
v: Output[A]
- Attributes
- protected[this]
- Definition Classes
- SinglethreadedEffected
-
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
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