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;