Skip to content

.jobs.clearDone ​

Liatir.jobs.clearDone() removes completed, failed, or killed jobs from the job registry.

Running jobs are not removed.

Signature ​

Example ​

Return value ​

TypeDescription
number / intNumber of jobs removed from the registry.

During liatir dev, this helper returns zero and leaves the global registry unchanged. Session cleanup belongs to the Dev Runner lifecycle.