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() )