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

Generic ScopedDisposable #3133

Merged
merged 1 commit into from Aug 15, 2016

Conversation

Projects
None yet
2 participants
@ikesyo
Member

ikesyo commented Aug 14, 2016

Related to #2750.

@ikesyo ikesyo added the proposal label Aug 14, 2016

@ikesyo ikesyo added this to the 5.0 milestone Aug 14, 2016

@@ -171,10 +188,10 @@ public final class CompositeDisposable: Disposable {
/// A disposable that, upon deinitialization, will automatically dispose of
/// another disposable.
public final class ScopedDisposable: Disposable {
public final class ScopedDisposable<InnerDisposable: Disposable>: Disposable {

This comment has been minimized.

@NachoSoto

NachoSoto Aug 15, 2016

Member

👍

@NachoSoto

NachoSoto Aug 15, 2016

Member

👍

@NachoSoto NachoSoto merged commit b8efe3a into master Aug 15, 2016

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@ikesyo

This comment has been minimized.

Show comment
Hide comment
@ikesyo

ikesyo Aug 15, 2016

Member

Thanks!

Member

ikesyo commented Aug 15, 2016

Thanks!

@ikesyo ikesyo deleted the ikesyo/generic-scoped-disposable branch Aug 15, 2016

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