commit
157d0caf81
1 changed files with 1 additions and 6 deletions
|
|
@ -124,7 +124,6 @@ object Agent {
|
|||
* val result = agent()
|
||||
* // use result ...
|
||||
*
|
||||
* agent.close
|
||||
* }}}
|
||||
* <br/>
|
||||
*
|
||||
|
|
@ -150,10 +149,6 @@ object Agent {
|
|||
* value2 <- agent2
|
||||
* } yield value1 + value2
|
||||
*
|
||||
* agent1.close
|
||||
* agent2.close
|
||||
* agent3.close
|
||||
* agent4.close
|
||||
* }}}
|
||||
*/
|
||||
abstract class Agent[T] {
|
||||
|
|
@ -238,4 +233,4 @@ abstract class Agent[T] {
|
|||
* In Java, pass in an instance of `akka.dispatch.Foreach`.
|
||||
*/
|
||||
def foreach[U](f: T ⇒ U): Unit
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue