getProgressStream method

Stream<SyncProgress> getProgressStream(
  1. ProgressDirection direction,
  2. ProgressMode mode
)

Gets a Stream of SyncProgress that can be used to track upload or download progress.

Implementation

Stream<SyncProgress> getProgressStream(ProgressDirection direction, ProgressMode mode) {
  final controller = SessionProgressNotificationsController(this, direction, mode);
  return controller.createStream();
}