setSemaphoreLimit static method
Updates the maximum number of concurrent file operations.
Re-initializes the global semaphore with the new limit.
Throws an ArgumentError if limit is zero or negative.
Implementation
static void setSemaphoreLimit(int limit) =>
_fileLimited.setSemaphoreLimit(limit);