-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
single-stream replication & discovery fixes #6
Conversation
README.md
Outdated
|
||
### sync.on('target', target) | ||
|
||
Emitted when a new wifi target is discovered. | ||
|
||
### var ev = sync.syncToTarget(target) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- what do you think about calling this
sync.start(target)
? - would it be possible to implement a
sync.stop(target)
to cancel the sync?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(by the way, not saying to implement sync.stop
here, but just wondering if it would be possible with current arch)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good Q! I think it's safe to interrupt the sync stream; maybe just doing stream.destroy()
would be OK?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good with the name change
No description provided.