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

update go-datastore bubbled through libp2p packages #166

Merged
merged 1 commit into from
Nov 26, 2016

Conversation

whyrusleeping
Copy link
Contributor

No description provided.

@whyrusleeping whyrusleeping added the status/in-progress In progress label Nov 26, 2016
@whyrusleeping whyrusleeping merged commit b85fbfe into master Nov 26, 2016
@whyrusleeping whyrusleeping deleted the deps/go-datastore branch November 26, 2016 08:06
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Nov 26, 2016
marten-seemann pushed a commit that referenced this pull request Aug 9, 2022
marten-seemann pushed a commit that referenced this pull request Aug 17, 2022
* add CloseRead/CloseWrite on streams

This changes the behavior of `Close` to behave as one would expect: it closes
the stream. The new methods, CloseWrite/CloseRead allow for closing the stream in
a single direction.

Note: This _does not_ implement CancelWrite/CancelRead as our stream muxer
_protocols_ don't support that.

fixes #9

* remove stream util helpers

FullClose and AwaitEOF were introduced to work around the fact that calling
Close on a stream only closed the write half. All users must adapt their code
to the new interfaces, so this change is intentionally breaking.
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.

1 participant