AsyncExecutor

slick.util.AsyncExecutor
See theAsyncExecutor companion object
trait AsyncExecutor extends Closeable

A connection pool for asynchronous execution of blocking I/O actions. This is used for the asynchronous query execution API on top of blocking back-ends like JDBC.

Attributes

Companion:
object
Source:
AsyncExecutor.scala
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def close(): Unit

Shut the thread pool down and try to stop running computations. The thread pool is transitioned into a state where it will not accept any new jobs.

Shut the thread pool down and try to stop running computations. The thread pool is transitioned into a state where it will not accept any new jobs.

Attributes

Source:
AsyncExecutor.scala
def executionContext: ExecutionContext

An ExecutionContext for running Futures.

An ExecutionContext for running Futures.

Attributes

Source:
AsyncExecutor.scala

Concrete methods