type ProgressCallback: (percent) => void;
A callback during long-running operations to update any UI or provide programatic access to the progress. The percent is a value between 0 and 1.

Parameters

ParameterType
percentnumber

Returns

void

Source

crypto/scrypt.ts:14