Open jacobbubu opened 5 years ago
sync is emitted in the core Scuttlebutt code, for example here: https://github.com/dominictarr/scuttlebutt/blob/7b7f89ab569329334daaa1ed4e9a3ecbed224a66/index.js#L163
I havn't touched or used this in 5 years, so I can't remember all the details of how this worked internally. I just searched for the word emit('sync'
and found that.
I havn't touched or used this in 5 years, so I can't remember all the details of how this worked internally. I just searched for the word
emit('sync'
and found that.
Actually, sync
only exists on stream, not model.
in the chapter Persistence of readme.markdown, the example is following:
I've not found
sync
event neither in 'index.js' nor 'model.js'