New Future (Expression) — skLambda

Addon: skLambda · Category: Expression · Since: 1.3.0

Syntax

a [new] [empty|pending] future

Description

Creates an unresolved future (a promise). Complete it later with `complete %future% with ...`, and await it with `wait for`.

Examples

set {_f} to a new future
complete {_f} with "ready"

View source