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 extension to ScopedDisposable for SerialDisposable #873

Merged

Conversation

sirnacnud
Copy link
Contributor

This adds an extension on ScopedDisposable where the inner is a SerialDisposable. This allows you to easily update the inner of the SerialDisposable wrapped in the ScopedDisposable.

Example:

let scopedDisposable = ScopedDisposable(SerialDisposable())
scopedDisposable.inner = someDisposble

Checklist

  • Updated CHANGELOG.md.

@mluisbrown mluisbrown self-assigned this Mar 18, 2024
@mluisbrown mluisbrown merged commit bc83377 into ReactiveCocoa:master Mar 18, 2024
5 checks passed
@sirnacnud sirnacnud deleted the scoped-disposable-serial-disposable branch March 18, 2024 10:09
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