Executor

Provides a task submission service upon which tasks can be submitted and a Future is returned as handle to that submitted task.

The underlying scheduling/threading mechanism is provided in the form of a Provider

Constructors

this
this(Provider provider)

Constructs a new Executor with the given provider which provides us with some sort of underlying thread execution mechanism where the tasks will actually be executed

this
this()

Constructs a new Executor wuth the default provider

Members

Functions

submitTask
Future submitTask()

Submits the provided function as a task and returns a handle to it in the form of a future

Meta