|
Scala 2
|
||
class
Chan
[ a ]
extends
UChan with
Function1 with
ScalaObjectConstructor Summary | |
def
this
|
Def Summary | |
def
*
[ b& ]
( f : Function1 )
: GP
Syntactic sugar for input. |
|
def
apply
( v : a )
: Product
Syntactic sugar for output. |
|
def
attach
( f : Function1 )
: scala.Unit
Attach a function to be evaluated at each communication event on this channel. Replace previous attached function. |
|
def
input
[ b& ]
( c : Function1 )
: GP
Creates an input guarded process. |
|
def
output
[ b& ]
( v : a , c : Function0 )
: GP
Creates an input guarded process. |
|
def
read
: a
Blocking read. |
|
def
write
( x : a )
: scala.Unit
Blocking write. |
Constructor Detail |
def
this
Def Detail |
def
*
[ b& ]( f : Function1 ) : GP
def
apply
( v : a ) : Product
def
attach
( f : Function1 ) : scala.Unit
def
input
[ b& ]( c : Function1 ) : GP
def
output
[ b& ]( v : a , c : Function0 ) : GP
def
read
: a
def
write
( x : a ) : scala.Unit