src/Helpers/FileHelperAsc.php
protected static function processUnlockQueue($filePath) {
        if (empty(static::$_lockedFilesQueue[$filePath])) {
            return;
        }
        while (!empty(static::$_lockedFilesQueue[$filePath])) {
            if (static::isLocked($filePath)) {
                break;
            }
            /** @var Deferred $deferred */
            $deferred = array_shift(static::$_lockedFilesQueue[$filePath]);
            $deferred->resolve(true);
        }
    }
protected static function processUnlockQueue($filePath) {
        if (empty(static::$_lockedFilesQueue[$filePath])) {
            return;
        }
        while (!empty(static::$_lockedFilesQueue[$filePath])) {
            if (static::isLocked($filePath)) {
                break;
            }
            /** @var Deferred $deferred */
            $deferred = array_shift(static::$_lockedFilesQueue[$filePath]);
            $deferred->resolve(true);
        }
    }
Process unlock waiting deferred(s) (and promises)
@param string $filePath