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

Deprecate publishAndSubscribeOnOverride methods #1527

Merged
merged 1 commit into from
May 5, 2021

Conversation

bondolo
Copy link
Contributor

@bondolo bondolo commented May 5, 2021

Motivation:
Refactoring of offloading is expected to remove these methods so it is
important to give users forewarning to migrate to other methods.

Modifications:
The publishOnOverride, subscribeOnOverride and
publishAndSubscribeOnOverride methods of Publisher, Single and
Completable are deprecated as well as the internal methods they call
are marked deprecated and an alternative suggestion is provided.

Result:
Users are forewarned of upcoming API change.

Motivation:
Refactoring of offloading is expected to remove these methods so it is
important to give users forewarning to migrate to other methods.
Modifications:
The `publishOnOverride``, `subscribeOnOverride` and
`publishAndSubscribeOnOverride` methods of `Publisher``, `Single` and
`Completable` are deprecated as well as the internal methods they call
are marked deprecated and an alternative suggestion is provided.
Result:
Users are forewarned of upcoming API change.
@bondolo bondolo requested review from idelpivnitskiy and tkountis May 5, 2021 23:17
@bondolo bondolo self-assigned this May 5, 2021
Copy link
Member

@idelpivnitskiy idelpivnitskiy left a comment

Choose a reason for hiding this comment

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

🚀

@bondolo bondolo merged commit 0c27f44 into apple:main May 5, 2021
@bondolo bondolo deleted the offload-deprecate branch May 5, 2021 23:35
bondolo added a commit to bondolo/servicetalk that referenced this pull request May 7, 2021
**Motivation**:
Refactoring of offloading is expected to remove these methods so it is
important to give users forewarning to migrate to other methods.

**Modifications**:
The `publishOnOverride`, `subscribeOnOverride` and
`publishAndSubscribeOnOverride` methods of `Publisher`, `Single` and
`Completable` are deprecated as well as the internal methods they call
are marked deprecated and an alternative suggestion is provided.

**Result**:
Users are forewarned of upcoming API change.
hbelmiro pushed a commit to hbelmiro/servicetalk that referenced this pull request May 23, 2021
**Motivation**:
Refactoring of offloading is expected to remove these methods so it is
important to give users forewarning to migrate to other methods.

**Modifications**:
The `publishOnOverride`, `subscribeOnOverride` and
`publishAndSubscribeOnOverride` methods of `Publisher`, `Single` and
`Completable` are deprecated as well as the internal methods they call
are marked deprecated and an alternative suggestion is provided.

**Result**:
Users are forewarned of upcoming API change.
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