Scala Library
|
|
scala/concurrent/ops.scala
]
object
ops
extends
AnyRefops
...Value Summary | |
implicit val
|
defaultRunner : TaskRunner[Unit] |
Method Summary | |
def
|
future
[A](p : => A)(implicit runner : TaskRunner[Unit]) : () => A
|
def
|
par [A, B](xp : => A, yp : => B) : (A, B) |
def
|
replicate (start : Int, end : Int)(p : (Int) => Unit) : Unit |
def
|
spawn
(p : => Unit)(implicit runner : TaskRunner[Unit]) : Unit
Evaluates an expression asynchronously.
|
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
Method Details |
def
spawn(p : => Unit)(implicit
runner : TaskRunner[Unit]) : Unit
p -
the expression to evaluate
def
future[A](p : => A)(implicit
runner : TaskRunner[Unit]) : () => A
p -
...xp -
...yp -
...start -
...end -
...p -
...
Scala Library
|
|