boxlang-async-programming

Installation
SKILL.md

BoxLang Async Programming

Overview

BoxLang provides a comprehensive async framework built on Java's CompletableFuture and Project Loom virtual threads. The AsyncService manages executors, schedulers, and futures. All async primitives integrate seamlessly with the BoxLang runtime.

Creating BoxFutures

BoxFuture extends CompletableFuture with BoxLang-friendly chaining.

futureNew() — Primary BIF (v1.4.0+)

// Create a future from a function (runs asynchronously)
var future = futureNew( () => fetchDataFromAPI() )

// Create a completed future with a value
Related skills

More from ortus-boxlang/skills

Installs
10
First Seen
Apr 15, 2026