Skip to content

AnalyzeOverExposureParams.onProgress method

AnalyzeOverExposureParams › onProgress

Optional callback invoked once per analyzed source file, before that file is processed. The whole-program reference analysis is slow, so this lets callers report live progress instead of appearing to hang.

Signature:

onProgress(this: void, progress: OverExposureProgress): void

Parameters:

ParameterTypeDescription
thisvoid
progressOverExposureProgress

Returns: void