waitForDownload method

Future<void> waitForDownload([
  1. CancellationToken? cancellationToken
])

Waits for the Session to finish all pending downloads. An optional cancellationToken can be used to cancel the wait operation.

Implementation

Future<void> waitForDownload([CancellationToken? cancellationToken]) => realmCore.sessionWaitForDownload(this, cancellationToken);