Waits for the Session to finish all pending uploads.
Future<void> waitForUpload() => realmCore.sessionWaitForUpload(this);