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

Add compressing readable stream and decompressing writable stream #99

Merged
merged 1 commit into from
Sep 11, 2022
Merged

Add compressing readable stream and decompressing writable stream #99

merged 1 commit into from
Sep 11, 2022

Conversation

Nevay
Copy link
Contributor

@Nevay Nevay commented Jul 24, 2022

No description provided.


public function isClosed(): bool
{
return $this->resource === null;
Copy link
Member

Choose a reason for hiding this comment

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

This will be wrong if the source has been closed, but this wrapper stream hasn't, no? At least onClose callbacks have been called then, but this method would still return false.

@kelunik kelunik merged commit 97f7e5f into amphp:v2 Sep 11, 2022
@kelunik
Copy link
Member

kelunik commented Sep 11, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants