cs2103aug2014-w10-4j / main

ChirpTask
3 stars 1 forks source link

StorageHandler.sync() should return a boolean variable #90

Closed pyonghe closed 9 years ago

pyonghe commented 9 years ago

Should return a boolean variable to allow user to know whether sync is successful or not?

newbishme commented 9 years ago

it's impossible to wait for the sync accurately before moving on since it is done concurrently in a separate thread. what i could do is to call the method to show status after everything is done. @yyhh91

newbishme commented 9 years ago

Commit 456b9a9 has implemented a boolean return. This boolean is interpreted as sync is initiated, not sync completed/successful. @yyhh91