Name

future

Usage

special-form

Syntax

(future sym expr)

Description

The form (future a expr) compiles to (let a (system:create-task (lambda () expr))). The task is started immediately. Reading references to a are compiled as (system:get-task-result a).