Module cloud.opencode.base.parallel


module cloud.opencode.base.parallel
OpenCode Base Parallel Module OpenCode 基础并行模块

Provides parallel computing capabilities based on JDK 25 features including Virtual Threads, Structured Concurrency, and Scoped Values.

提供基于 JDK 25 特性的并行计算能力,包括虚拟线程、结构化并发和作用域值。

Key Features | 主要功能:

  • Virtual Threads - 虚拟线程
  • Structured Concurrency (JEP 499) - 结构化并发
  • Scoped Values (JEP 501) - 作用域值
  • Parallel Execution (runAll, invokeAll, invokeAny) - 并行执行
  • Batch Processing (parallelMap, processBatch) - 批量处理
  • Async Pipeline - 异步流水线
  • Concurrency Control (Semaphore throttling) - 并发控制
Since:
JDK 25, opencode-base-parallel V1.0.0
Author:
Leon Soo