Module 21: Async Client
The reactive, non-blocking version of Module 01.What You’ll Learn
AcpClient.async()instead ofAcpClient.sync()- Chaining operations with
MonoandflatMap - Async session update consumers returning
Mono<Void> - When to use async vs sync
The Code
Sync vs Async Comparison
The async client wraps every operation in Project Reactor’s
Mono. If you’re already using a reactive framework, the async client integrates naturally. For CLI tools and scripts, the sync client is simpler.