withScmProgress<R> method

Future withScmProgress<R>(
  1. Future task(
    1. Progress<num>
    )
)

Show progress in the Source Control viewlet while running the given callback and while its returned promise isn't resolve or rejected.

Implementation

_i2.Future<_i2.dynamic> withScmProgress<R>(
        _i2.Future<_i2.dynamic> Function(_i4.Progress<_i2.num>) task) =>
    _i3.promiseToFuture(_i3.callMethod(
      this,
      'withScmProgress',
      [_i3.allowInterop(task)],
    ));