Reactive.Annex 0.6.0-dev.50

.NET Standard 2.0
This is a prerelease version of Reactive.Annex.
dotnet add package Reactive.Annex --version 0.6.0-dev.50
NuGet\Install-Package Reactive.Annex -Version 0.6.0-dev.50
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Reactive.Annex" Version="0.6.0-dev.50" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Reactive.Annex --version 0.6.0-dev.50
#r "nuget: Reactive.Annex, 0.6.0-dev.50"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Reactive.Annex as a Cake Addin
#addin nuget:?package=Reactive.Annex&version=0.6.0-dev.50&prerelease

// Install Reactive.Annex as a Cake Tool
#tool nuget:?package=Reactive.Annex&version=0.6.0-dev.50&prerelease

Reactive.Annex

Reactive.Annex contains extension methods to help developers make the most out of the Reactive world. Reactive.Annex.Uno also contains an easy-to-use implementation of a dispatcher scheduler following the IScheduler interface.

License

Getting Started

Add the Reactive.Annex nuget package and its dependencies to your project.

Then, make sure you are using the System.Reactive.Linq and System.Reactive.Concurrency namespaces in your file.

You are now ready to use these handy extension methods!

If your project uses the Uno platform, you can also add the Reactive.Annex.Uno package to your project. You can now create a MainDispatcherScheduler, which implements the IDispatcherScheduler interface.

var dispatcher = new MainDispatcherScheduler(CoreDispatcher.Main);

Features

Reactive.Annex features:

  • IBackgroundScheduler and IDispatcherScheduler: Strongly-typed interfaces to clearly differentiate background schedulers from dispatcher schedulers. No need to rely on variable names anymore

  • IObservable extensions

    • FirstAsync: Creates a task from an IObservable with the first value observed.
    • FromAsync: Converts an async method into an observable sequence.
    • SelectManyDisposePrevious: Runs an async action each time your observable sequence produces a new value while making sure to cancel the previous action if it's still running.
    • SkipWhileSelectMany: Projects element of an observable sequence to another observable sequence, skipping new elements while resulting observable is not completed, and merges the resulting observable sequences into one observable sequence.
  • IScheduler extensions

    • ScheduleTask: Schedules work using an asynchronous method, allowing for cooperative scheduling in an imperative coding style.
    • Run: Awaits a task execution on the specified scheduler, providing the result.

Reactive.Annex.Uno features:

  • MainDispatcherScheduler: an easy-to-use implementation of IDispatcherScheduler

Changelog

Please consult the CHANGELOG for more information about version history.

License

This project is licensed under the Apache 2.0 license - see the LICENSE file for details.

Contributing

Please read CONTRIBUTING.md for details on the process for contributing to this project.

Be mindful of our Code of Conduct.

Contributors

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Reactive.Annex:

Package Downloads
Reactive.Annex.Uno

Reactive.Annex.Uno

Cartography.DynamicMap

Cartography.DynamicMap

Cartography.StaticMap

Cartography.StaticMap

Cartography.MapService

Cartography.MapService

Reactive.Annex.Uno.WinUI

Reactive.Annex.Uno.WinUI

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.6.0-dev.50 6,302 10/26/2022
0.5.0-feature.dotnet6.38 137 9/22/2022
0.5.0-feature.dotnet6.30 69 9/21/2022
0.5.0-dev.46 755 10/13/2022
0.5.0-dev.44 105 10/13/2022
0.5.0-dev.41 3,022 10/11/2022
0.5.0-dev.39 493 9/26/2022
0.5.0-dev.29 31,369 3/31/2022
0.4.0-feature.uno-ui-4.26 106 3/15/2022
0.4.0-dev.27 250 3/15/2022
0.3.0-feature.uno-ui-4.24 8,647 12/21/2021
0.3.0-dev.18 51,995 3/16/2021
0.2.0-dev.16 363 11/2/2020
0.2.0-dev.14 17,997 6/26/2020