Added corresponding JSDoc for the onProgress callback.