For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/template-webpack-plugin.lynxencodeplugin.encodepool.md.
This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/template-webpack-plugin > LynxEncodePlugin > encodePool

LynxEncodePlugin.encodePool property

Shared TASM encode worker pool: multiple entries (and multiple LynxEncodePlugin instances in the same process) share its worker slots for parallel encode; watch-mode rebuilds keep the same workers warm. availableParallelism() honors cgroup CPU limits (containers, CI runners), so we don't need to subtract a core ourselves.

Signature:

static encodePool: Tinypool;