Scala Library
|
|
scala/concurrent/TaskRunner.scala
]
trait
TaskRunner[T]
extends
AsyncInvokable[() => T, T] with
AnyRefTaskRunner
trait...Method Summary | |
def
|
!! (task : () => T) : Future[T] |
abstract def
|
managedBlock (blocker : ManagedBlocker) : Unit |
abstract def
|
shutdown : Unit |
abstract def
|
submit (task : () => T) : Future[T] |
protected def
|
tryCatch
[A](left : => A) : Either[A, java.lang.Exception]
If expression computed successfully return it in
Left ,
otherwise return exception in Right . |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
abstract
def
shutdown : Unit
abstract
def
managedBlock(blocker : ManagedBlocker) : Unit
protected
def
tryCatch[A](left : => A) : Either[A, java.lang.Exception]
Left
,
otherwise return exception in Right
.
Scala Library
|
|