LMS.GetBusyCount - Get Busy Count

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > LMS. - LM-Studio Commands > NEW: LMS v2.1 Commands - Model Query, Status, and Text Extraction >

LMS.GetBusyCount - Get Busy Count

Returns the number of currently active LMS requests. Useful for monitoring concurrent operations.

Syntax:

LMS.GetBusyCount|$$RET_VAR

Parameters:

$$RET_VAR (Variable, required) - Variable to receive the count.

Return Value:

Returns the number of active requests (0 or more). A value of 0 means completely idle.

See Also:

LMS.IsBusy