in scala.concurrent.pilib
class Chan

`class` Chan [a]
  `extends` pilib.this.UChan
  `with` scala.Function1[a, scala.concurrent.pilib.Product[a]]
  `with` scala.ScalaObject

  Name on which one can emit, receive or that can be emitted or received during a communication.

Constructor Summary
| `def` this

Var Summary
| `var` defaultValue : a

Def Summary
| `def` * [b] (f: scala.Function1[a, b]) : scala.concurrent.pilib.GP[b] Syntactic sugar for input.
| `def` apply (v: a) : scala.concurrent.pilib.Product[a] Syntactic sugar for output.
| `def` attach (f: scala.Function1[a, scala.Unit]) : scala.Unit Attach a function to be evaluated at each communication event on this channel. Replace previous attached function.
| `def` input [b] (c: scala.Function1[a, b]) : scala.concurrent.pilib.GP[b] Creates an input guarded process.
| `def` output [b] (v: a, c: scala.Function0[b]) : scala.concurrent.pilib.GP[b] Creates an input guarded process.
| `def` read : a Blocking read.
| `def` write (x: a) : scala.Unit Blocking write.

Constructor Detail

`def` this

Var Detail

`var` defaultValue : a

Def Detail

`def` * [b](f: scala.Function1[a, b]): scala.concurrent.pilib.GP[b]

  Syntactic sugar for input.

`def` apply (v: a): scala.concurrent.pilib.Product[a]

  Syntactic sugar for output.

`def` attach (f: scala.Function1[a, scala.Unit]): scala.Unit

  Attach a function to be evaluated at each communication event on this channel. Replace previous attached function.

`def` input [b](c: scala.Function1[a, b]): scala.concurrent.pilib.GP[b]

  Creates an input guarded process.

`def` output [b](v: a, c: scala.Function0[b]): scala.concurrent.pilib.GP[b]

  Creates an input guarded process.

`def` read : a

  Blocking read.

`def` write (x: a): scala.Unit

  Blocking write.