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

transfer completed notifications for responder #46

Merged
merged 1 commit into from Apr 21, 2020

Conversation

hannahhoward
Copy link
Collaborator

Goals

Currently, if you are on the side of the data transfer responding to a graphsync request (the data transfer initiator for push, the data transfer responder for pull), you receive no notification when your data transfer is complete. You should be able to.

Implementation

  • Graphsync now has a way to listen for the moment when it finishes responding to an incoming request. We hook into that listener, and then bubble the result up to a data transfer notification
  • Test at integration level (cause it requires real graphsync)

Add a graphsync completed response listener so that the side responding to a graphsync request can
learn when a response is complete
Copy link
Contributor

@shannonwells shannonwells left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks ok to me; nothing to add

@hannahhoward hannahhoward merged commit 4117a84 into master Apr 21, 2020
@rvagg rvagg deleted the feat/responder-complete-notify branch January 5, 2023 01:08
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.

None yet

2 participants