scala.concurrent

object ops

[source: scala/concurrent/ops.scala]

object ops
extends AnyRef
The object ops ...
Author
Martin Odersky, Stepan Koltsov, Philipp Haller
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
implicit val defaultRunner : TaskRunner[Unit]

Method Details
def spawn(p : => Unit)(implicit runner : TaskRunner[Unit]) : Unit
Evaluates an expression asynchronously.
Parameters
p - the expression to evaluate

def future[A](p : => A)(implicit runner : TaskRunner[Unit]) : () => A
Parameters
p - ...
Returns
...

def par[A, B](xp : => A, yp : => B) : (A, B)
Parameters
xp - ...
yp - ...
Returns
...

def replicate(start : Int, end : Int)(p : (Int) => Unit) : Unit
Parameters
start - ...
end - ...
p - ...