sessionGateFor
sessionGateFor(
target,sessions):SessionGate
Defined in: packages/core/src/utils/session-gate.ts:18
The gate of target, created on first use. One gate per target for the whole process, so
concurrent shards share the cap instead of multiplying it. A later call with another sessions
keeps the first gate: the size is the runner’s configuration and does not change under it.
Parameters
Section titled “Parameters”target
Section titled “target”string
sessions
Section titled “sessions”number