ReactiveSwift icon indicating copy to clipboard operation
ReactiveSwift copied to clipboard

Add extension to ScopedDisposable for SerialDisposable

Open sirnacnud opened this issue 2 years ago • 0 comments

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

  • [x] Updated CHANGELOG.md.

sirnacnud avatar Apr 17 '23 08:04 sirnacnud