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

Clarify expectations for TransportObserver implementations #2238

Merged
merged 1 commit into from
Jun 3, 2022

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

TransportObserver does not clarify if users can block or not inside
their implementations.

Modifications:

  • Copy offloading requirements from HttpLifecycleObserver to
    TransportObserver;

Result:

TransportObserver javadoc clarifies expectations for non-blocking
implementations and suggests to do manual offloading if necessary.

Motivation:

`TransportObserver` does not clarify if users can block or not inside
their implementations.

Modifications:

- Copy offloading requirements from `HttpLifecycleObserver` to
`TransportObserver`;

Result:

`TransportObserver` javadoc clarifies expectations for non-blocking
implementations and suggests to do manual offloading if necessary.
@idelpivnitskiy idelpivnitskiy requested a review from tkountis June 3, 2022 22:56
@idelpivnitskiy idelpivnitskiy self-assigned this Jun 3, 2022
Copy link
Contributor

@tkountis tkountis left a comment

Choose a reason for hiding this comment

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

♥️

@idelpivnitskiy idelpivnitskiy merged commit 1d454a7 into apple:main Jun 3, 2022
@idelpivnitskiy idelpivnitskiy deleted the docs branch June 3, 2022 23:30
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