cancelAsyncOperationsOnNonFatalErrors property

bool cancelAsyncOperationsOnNonFatalErrors
final

Controls whether async operations such as Realm.open, Session.waitForUpload, and Session.waitForDownload should throw an error whenever a non-fatal error, such as timeout occurs.

If set to false, non-fatal session errors will be ignored and sync will continue retrying the connection under in the background. This means that in cases where the devie is offline, these operations may take an indeterminate time to complete.

Implementation

final bool cancelAsyncOperationsOnNonFatalErrors;