withProgressGracePeriod<R> function
Runs callback in a Zone with progressGracePeriod as the active grace
period.
Implementation
R withProgressGracePeriod<R>(
R Function() callback, {
required ProgressGracePeriod progressGracePeriod,
}) => runZoned(
callback,
zoneValues: {_progressGracePeriodKey: progressGracePeriod},
);