General concurrency facilities, futures, promises.

IExecutor

Available since version 1.0 (view source)

PROTOCOL with method -execute

An abstract type protocol for executors.

-execute

Available since version 1.0 (view source)

not referred automatically

Usage:
  • (-execute this f)

Type signature:
  • (Any ⨯ Function) → nil

Executes given function f and returns nil.

See also: IExecutor

IFuture

Available since version 1.0 (view source)

MARKER PROTOCOL

An abstract type protocol for futures.

See also: future?, future, future-call

ITaskExecutor

Available since version 1.0 (view source)

PROTOCOL with method -submit

An abstract type protocol for task executors.

-submit

Available since version 1.0 (view source)

not referred automatically

Usage:
  • (-submit this t)

Type signature:
  • (Any ⨯ Function) → IFuture

Submits a given function f for execution and returns an IFuture representing that task.

See also: ITaskExecutor