Created
May 1, 2015 15:11
-
-
Save softinio/13695a462cffc1f77150 to your computer and use it in GitHub Desktop.
Use of domainsTotalsAccurate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note: syncStatus must be the full syncStatus object/json | |
async.series({ | |
totals: function(cb){ | |
domainsTotalsAccurate(pid, syncStatus, req, cb); | |
} | |
}, function(myError, myResult){ | |
var result = myResult.totals; | |
}) | |
For result you will get this json: | |
{ | |
synced: true | |
} | |
Self explanatory if true counts match so sync complete. Else false. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment