Instantly share code, notes, and snippets.

Embed
What would you like to do?
progress monitoring in dat
var progress = replicator.createPullStream(remote)
progress.bytes // how many bytes transferred
progress.documents // how many documents ...
progress.blobs // how many blobs
progress.on('update', function() {
// something has changed
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment