class SimpleAsyncTask[A] extends WorkerTask[A] with AsyncTaskController
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SimpleAsyncTask
- AsyncTaskController
- WorkerTask
- Future
- Awaitable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SimpleAsyncTask(taskID: Int, parent: Option[WorkerTask[_] with AsyncTaskController], task: () => Try[A])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addOnNextThrow(callback: (Option[Throwable]) => Unit): Unit
- Definition Classes
- SimpleAsyncTask → WorkerTask
- def andThen[U](pf: PartialFunction[Try[A], U])(implicit executor: ExecutionContext): Future[A]
- Definition Classes
- Future
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def collect[S](pf: PartialFunction[A, S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- def continue(): Unit
- Definition Classes
- SimpleAsyncTask → WorkerTask
- def derivate(): Try[A]
- Definition Classes
- SimpleAsyncTask → WorkerTask
- Annotations
- @workerExecution()
- def derivateForAtLeast(millis: Long): Option[Try[A]]
- Definition Classes
- SimpleAsyncTask → WorkerTask
- Annotations
- @workerExecution()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failed: Future[Throwable]
- Definition Classes
- Future
- def fallbackTo[U >: A](that: Future[U]): Future[U]
- Definition Classes
- Future
- def filter(p: (A) => Boolean)(implicit executor: ExecutionContext): Future[A]
- Definition Classes
- Future
- def flatMap[S](f: (A) => Future[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- def flatten[S](implicit ev: <:<[A, Future[S]]): Future[S]
- Definition Classes
- Future
- def foreach[U](f: (A) => U)(implicit executor: ExecutionContext): Unit
- Definition Classes
- Future
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getWorker: Worker
- Definition Classes
- SimpleAsyncTask → WorkerTask
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def isCompleted: Boolean
- Definition Classes
- SimpleAsyncTask → Future
- def isExecuting: Boolean
true if the worker thread is running the task or if the worker is executing other tasks while this one is paused
true if the worker thread is running the task or if the worker is executing other tasks while this one is paused
- Definition Classes
- SimpleAsyncTask → WorkerTask
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPaused: Boolean
true if the task has been paused
true if the task has been paused
- Definition Classes
- SimpleAsyncTask → WorkerTask
- def isRunning: Boolean
true if the worker is running this task
true if the worker is running this task
- Definition Classes
- SimpleAsyncTask → WorkerTask
- def join(millis: Long): Option[Try[A]]
- Definition Classes
- SimpleAsyncTask → WorkerTask
- def join(): Try[A]
- Definition Classes
- SimpleAsyncTask → WorkerTask
- val lock: Lock
- Definition Classes
- SimpleAsyncTask → WorkerTask
- def map[S](f: (A) => S)(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- def mapTo[S](implicit tag: ClassTag[S]): Future[S]
- Definition Classes
- Future
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def notifyNestThrow(threw: Throwable): Unit
- Definition Classes
- SimpleAsyncTask → AsyncTaskController
- def onComplete[U](f: (Try[A]) => U)(implicit executor: ExecutionContext): Unit
- Definition Classes
- SimpleAsyncTask → Future
- val parent: Option[WorkerTask[_] with AsyncTaskController]
- Definition Classes
- SimpleAsyncTask → WorkerTask
- def ready(atMost: Duration)(implicit permit: CanAwait): SimpleAsyncTask.this.type
- Definition Classes
- SimpleAsyncTask → Awaitable
- def recover[U >: A](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Future[U]
- Definition Classes
- Future
- def recoverWith[U >: A](pf: PartialFunction[Throwable, Future[U]])(implicit executor: ExecutionContext): Future[U]
- Definition Classes
- Future
- def result(atMost: Duration)(implicit permit: CanAwait): A
- Definition Classes
- SimpleAsyncTask → Awaitable
- def runTask(): Unit
- Definition Classes
- SimpleAsyncTask → AsyncTaskController
- Annotations
- @workerExecution()
- def setContinue(): Unit
- Definition Classes
- SimpleAsyncTask → AsyncTaskController
- def setPaused(): Unit
- Definition Classes
- SimpleAsyncTask → AsyncTaskController
- def setWorker(worker: Worker): Unit
- Attributes
- protected
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val taskID: Int
The taskID this class
The taskID this class
- Definition Classes
- SimpleAsyncTask → WorkerTask
- def throwNextThrowable(): Unit
- Definition Classes
- SimpleAsyncTask → WorkerTask
- def toString(): String
- Definition Classes
- SimpleAsyncTask → AnyRef → Any
- def transform[S](f: (Try[A]) => Try[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- SimpleAsyncTask → Future
- def transform[S](s: (A) => S, f: (Throwable) => Throwable)(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- def transformWith[S](f: (Try[A]) => Future[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- SimpleAsyncTask → Future
- def value: Option[Try[A]]
- Definition Classes
- SimpleAsyncTask → Future
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def withFilter(p: (A) => Boolean)(implicit executor: ExecutionContext): Future[A]
- Definition Classes
- Future
- def zip[U](that: Future[U]): Future[(A, U)]
- Definition Classes
- Future
- def zipWith[U, R](that: Future[U])(f: (A, U) => R)(implicit executor: ExecutionContext): Future[R]
- Definition Classes
- Future
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated