CompositeDisposable has an extension method called DisposeWith very useful when working with frameworks like ReactiveUI that uses CompositeDisposables extensively. There isn't a functional version of this method.
Repro steps
use d = new CompositeDisposable()
let x = Disposable.Empty
x.DisposeWith(d) |> ignore
Expected behavior
use d = new CompositeDisposable()
Disposable.Empty
|> Disposable.disposeWith d |> ignore
Actual behavior
I cannot pipe DisposeWith method function-friendly.
Known workarounds
Create a helper function in F# wrapping this functionality making functional.friendly
Description
CompositeDisposable has an extension method called DisposeWith very useful when working with frameworks like ReactiveUI that uses CompositeDisposables extensively. There isn't a functional version of this method.
Repro steps
Expected behavior
Actual behavior
I cannot pipe DisposeWith method function-friendly.
Known workarounds
Create a helper function in F# wrapping this functionality making functional.friendly