CB.Reactive
1.0.0
dotnet add package CB.Reactive --version 1.0.0
NuGet\Install-Package CB.Reactive -Version 1.0.0
<PackageReference Include="CB.Reactive" Version="1.0.0" />
<PackageVersion Include="CB.Reactive" Version="1.0.0" />
<PackageReference Include="CB.Reactive" />
paket add CB.Reactive --version 1.0.0
#r "nuget: CB.Reactive, 1.0.0"
#:package CB.Reactive@1.0.0
#addin nuget:?package=CB.Reactive&version=1.0.0
#tool nuget:?package=CB.Reactive&version=1.0.0
CB.Reactive
Operators and helpers for System.Reactive, extracted from the T·VIN framework where they run in production. Targets net11.0, net10.0, net48 and netstandard2.0.
using CB.Reactive;
What is in it
Hand-off between threads that does not leak what it drops
ObserveOnDisposingDropped(scheduler, dropDisposable, maxQueued, onOverflow)-ObserveOnwith a bounded queue; whatever is displaced or still queued at teardown is released throughdropDisposable.ObserveOnConflatingDropped(scheduler, dropDisposable)- the same, keeping only the newest item.DropWhenBusy(scheduler, onDropped)- deliver an item only when the previous one is done; report the rest as dropped.QuietLoopScheduler- anEventLoopSchedulerthat drops work after it is disposed instead of throwing on a foreign thread.
Subscriptions
SubscribeGuarded(onNext, context, logger)- a handler that throws is logged and the subscription stays (Rx would detach it).Share(),TrackSubscription(out hasObservers),FireAndForget()/FireAndForget(selector),DisposePrevious(...).
Sequences
PairWithPrevious(),WhereConsecutive(predicate),DoOnPrevious(...),TrackStatusFlags(reset),RatePerSecond().WhereTrue(),WhereFalse(),ToCommand(BoolToCommandTrigger),WhereHasValue(),ThrowIfDisposed(...),WhereNotDisposed(...),WhereNotNullAndNotDisposed(...).Demultiplex(keySelector)andDemultiplex()(by type): one stream per key or type, plus a fallback.
Producers and retries
Producer<T>- runs an enumerable on its own thread only while it has observers; faults are reported and the source rebuilt.ObservableX.Poll(...),ObservableX.RetryWithBackoff(...)forRetryWhenand for blocking actions.
Async clean-up (namespace System.Reactive.Disposables, so no extra using)
AddAsync(...),AsDisposable(),DisposeWithAsync(...)- start anIAsyncDisposablefrom a synchronousDispose, and log its failure.
Logging
Operators that report something take an optional Microsoft.Extensions.Logging.ILogger; without one they stay silent. The package
depends on Microsoft.Extensions.Logging.Abstractions only.
Contributors/Contributing
Maintained by Christian Borck
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.8
- CB.System (>= 1.0.0)
- Microsoft.Bcl.AsyncInterfaces (>= 11.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 11.0.0)
- System.Reactive (>= 7.0.0)
-
.NETStandard 2.0
- CB.System (>= 1.0.0)
- Microsoft.Bcl.AsyncInterfaces (>= 11.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 11.0.0)
- System.Reactive (>= 7.0.0)
-
net10.0
- CB.System (>= 1.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 11.0.0)
- System.Reactive (>= 7.0.0)
-
net11.0
- CB.System (>= 1.0.0)
- System.Reactive (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 546 | 11/17/2026 |
| 1.0.0-preview.1 | 142 | 11/15/2026 |