An Experimental Asynchronous Proramming Library for Scala 3. It aims to be:
- Simple: enables direct-style programming (suspending with
.await
, calling Async-functions directly) and comes with few simple concepts. - Structured: allows an idiomatic way of structuring concurrent programs minimizing computation leaking (structured concurrency), while providing a toolbox for dealing with external, unstructured events.
- Cross-platform: Works on both JVM >=21 and Scala Native.
The Gears Book is a great way to getting started with programming using Gears. It provides a tutorial, as well as a guided walkthrough of all concepts available within Gears.
You will need JDK >= 21 and Scala Native set up.
sbt publishLocal
We are happy to take issues, pull requests and discussions!
For a quick look at our development environment and workflow, check our the contributing guide.
You might also be interested in:
- ox: Safe direct-style concurrency and resiliency for Scala on the JVM.
APACHE 2.0