Skip to main content

Module cluster

Module cluster 

Source
Expand description

A worker pool of pre-created tabs, distributing tasks with retries (puppeteer-cluster style). See Cluster.

Structsยง

Cluster
A pool of config.concurrency pre-created tabs shared across tasks, with per-task retries. Workers are reused between tasks, avoiding per-task create/close overhead.
ClusterConfig
Settings for Cluster::new.
TaskResult
Outcome of one task run through Cluster::execute or Cluster::run.