Setu-TS
    Preparing search index...

    Class WorkerPoolService

    The worker pool service registered under CAPABILITIES.WORKER_POOL.

    Resolves the worker host once: an injected options.host wins over the runtime's IRuntimeServices.workers. When neither exists (e.g. Cloudflare Workers), the service still constructs — run() throws WorkerPoolUnavailableError, stats() returns [], and shutdown() resolves — so one codebase stays deployable everywhere. Construction refuses an invalid maxWorkers with RangeError, just as the plugin factory does.

    0.1.0

    Implements

    Index