Rx.NET v6.1 New Feature: DisposeWith()

In this episode, Ian Griffiths introduces the new DisposeWith
method available in Rx.NET version 6.1, released in October 2025.
He discusses the new functionalities, including a new TakeUntil()
overload and the ResetExceptionDispatchState
operator, with additional videos to cover these features.
Ian explains that DisposeWith
is a community contribution by Chris Pullman, designed to facilitate a fluent coding style by simplifying the disposal of multiple subscriptions. He demonstrates the method in a console application, comparing it with the traditional CompositeDisposable approach, and highlights its ease of use for handling observable subscriptions.
Full documentation is available at Introduction to Rx.NET.
- 00:00 Introduction to Dispose Operator in Rx.NET
- 00:43 Community Contribution and Background
- 01:26 Purpose and Design of
DisposeWith
Method - 01:47 Demo:
DisposeWith
Method in Action - 02:11 CompositeDisposable vs
DisposeWith
- 03:22 Fluent Style Development with
DisposeWith
- 04:32 Conclusion and Further Resources
Published on:
Learn more