A context to be notified by scala.concurrent.blocking when
a thread is about to block.
This class .
A DelayedLazyVal is a wrapper for lengthy computations which have a
valid partially computed result.
An ExecutionContext is an abstraction over an entity that can execute program logic.
Union interface since Java does not support union types
Union interface since Java does not support union types
The trait that represents futures.
This class .
A marker indicating that a java.lang.Runnable provided to scala.concurrent.ExecutionContext
wraps a callback provided to Future.onComplete.
Promise is an object which can be completed with a value or failed with an exception.
A SyncChannel allows one to exchange data synchronously between
a reader and a writer thread.
A class to provide safe concurrent access to a mutable cell.
The FutureTaskRunner trait is a base trait of task runners
that provide some sort of future abstraction.
The ManagedBlocker trait.
The TaskRunner trait.
The ThreadPoolRunner trait uses a java.util.concurrent.ExecutorService
to run submitted tasks.
The ThreadRunner trait.
Await is what is used to ensure proper handling of blocking for Awaitable instances.
Contains factory methods for creating execution contexts.
Future companion object.
The JavaConversions object provides implicit converstions supporting
interoperability between Scala and Java concurrency classes.
Used to designate a piece of code which potentially blocks, allowing the BlockContext to adjust the runtime's behavior.
Used to designate a piece of code which potentially blocks, allowing the BlockContext to adjust the runtime's behavior. Properly marking blocking code may improve performance or avoid deadlocks.
If you have an Awaitable then you should use Await.result instead of blocking.
A piece of code which contains potentially blocking or long running calls.
Calling this method may throw the following exceptions:
Starts an asynchronous computation and returns a Future object with the result of that computation.
Starts an asynchronous computation and returns a Future object with the result of that computation.
The result becomes available once the asynchronous computation is completed.
the type of the result
the asychronous computation
the execution context on which the future is run
the Future holding the result of the computation
Creates a promise object which can be completed with a value.
Creates a promise object which can be completed with a value.
the type of the value in the promise
the execution context on which the promise is created on
the newly created Promise object
The TaskRunners object.
The object ops .
This package object contains primitives for concurrent and parallel programming.