Note: As a real-world example of async(), you can check out this part of the Now in Android app. In the SyncWorker class, the call to sync() returns a boolean if the sync to a particular backend was successful. If any of the sync operations failed, then the app needs to perform a retry.
In the above test, the link to SyncWorker is no longer valid
Note: As a real-world example of async(), you can check out this part of the Now in Android app. In the SyncWorker class, the call to sync() returns a boolean if the sync to a particular backend was successful. If any of the sync operations failed, then the app needs to perform a retry.
In the above test, the link to SyncWorker is no longer valid