inSuiteSlot

tcmts.cli.budget.inSuiteSlot · #mhpf3hsz · term · runs on the server

uses process

Whether this process runs inside a slot another holds for it (TCM_SUITE_SLOT, which runSuite sets for a suite, and withSlot's env for what it starts): what it runs takes no more of them, and runs one at a time.

export const inSuiteSlot = (): boolean => !!process.env.TCM_SUITE_SLOT

used by