.jobs.clearDone
Liatir.jobs.clearDone() removes completed, failed, or killed jobs from the job registry.
Running jobs are not removed.
Signature
Example
Return value
| Type | Description |
|---|---|
number / int | Number 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.