Skip to content
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

Merged
merged 11 commits into from
Feb 13, 2019
Merged

Conversation

hackergrrl
Copy link
Contributor

No description provided.

README.md Outdated

### sync.on('target', target)

Emitted when a new wifi target is discovered.

### var ev = sync.syncToTarget(target)
Copy link
Collaborator

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?

Copy link
Collaborator

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)

Copy link
Contributor Author

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?

Copy link
Contributor Author

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

@hackergrrl hackergrrl merged commit 686d8f9 into master Feb 13, 2019
@okdistribute okdistribute deleted the mapeo-sync branch February 13, 2019 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants