|
Scala Library
|
|
scala/concurrent/TaskRunner.scala]
trait
TaskRunner
extends AnyRefTaskRunner trait...| Type Summary | |
abstract type
|
Task |
| Method Summary | |
abstract def
|
execute [S](task : Task[S]) : Unit |
implicit abstract def
|
functionAsTask [S](fun : () => S) : Task[S] |
abstract def
|
shutdown : Unit |
protected def
|
tryCatch
[A](body : => A) : Either[java.lang.Exception, A]
If expression computed successfully return it in
Right,
otherwise return exception in Left. |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Type Details |
| Method Details |
abstract
def
shutdown : Unit
protected
def
tryCatch[A](body : => A) : Either[java.lang.Exception, A]
Right,
otherwise return exception in Left.|
Scala Library
|
|