Get the current sync state.
Optional
O(1) delegation to the database; costs whatever the corresponding method costs.
Get the current sync state.