boxlang-async-programming

Installation
SKILL.md

BoxLang Async Programming

BoxLang is the AI-native software productivity platform for building, modernizing and running applications, with developers and AI agents working together.

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() )
Installs
44
First Seen
Apr 15, 2026