Rebus.Async
10.0.0
dotnet add package Rebus.Async --version 10.0.0
NuGet\Install-Package Rebus.Async -Version 10.0.0
<PackageReference Include="Rebus.Async" Version="10.0.0" />
<PackageVersion Include="Rebus.Async" Version="10.0.0" />
<PackageReference Include="Rebus.Async" />
paket add Rebus.Async --version 10.0.0
#r "nuget: Rebus.Async, 10.0.0"
#:package Rebus.Async@10.0.0
#addin nuget:?package=Rebus.Async&version=10.0.0
#tool nuget:?package=Rebus.Async&version=10.0.0
Rebus.Async
Provides an extension to Rebus that allows for emulating synchronous request/reply in an asynchronous fashion.
⚠ While it can be handy in a few select places, if you're not too keen on introducing HTTP, Protobuf, or another RPC protocol, I do not really recommend that this package be used too much!(*)
Check this out – first you enable synchronous request/reply (must be done at both ends! i.e. both in the requestor and in the replier!):
services.AddRebus(
configure => configure
.(...)
.Options(o => o.EnableSynchronousRequestReply())
.(...)
);
and then you can
var reply = await _bus.SendRequest<SomeReply>(new SomeRequest(), timeout: TimeSpan.FromSeconds(7));
// we have the reply here :)

(*) The reason is that everything in Rebus revolves around providing nice mechanisms for doing asynchronous, durable messaging, and the "synchronous request/reply" thing conflicts a great deal with that.
The reason is that the requestor holds transient state after having issued a request, which will be lost if the process crashes, which in turn will result in a reply that has noone to handle it.
This might not be a problem, but I generally recommend that you try to model your code such that your messaging is truly asynchronous (i.e. requestors send their requests, replies are handled in a separate handler, possibly correlated with whatever you were doing by means of a correlation ID).
| 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 was computed. 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. |
| .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 was computed. 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. |
-
.NETStandard 2.0
- rebus (>= 8.0.1)
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 |
|---|---|---|
| 10.0.0 | 156,757 | 11/15/2023 |
| 10.0.0-alpha02 | 254 | 8/2/2023 |
| 10.0.0-alpha01 | 254 | 3/27/2023 |
| 9.0.0 | 36,239 | 2/28/2023 |
| 8.0.1 | 47,944 | 12/28/2022 |
| 8.0.0 | 1,820 | 12/28/2022 |
| 7.2.0 | 183,307 | 3/15/2021 |
| 7.1.0 | 80,517 | 3/4/2020 |
| 7.0.0 | 5,371 | 3/4/2020 |
| 7.0.0-b01 | 817 | 9/16/2019 |
| 6.0.2 | 20,163 | 8/26/2019 |
| 6.0.0 | 2,244 | 8/26/2019 |
| 5.0.1 | 4,104 | 8/9/2019 |
| 5.0.0 | 31,273 | 8/15/2017 |
| 5.0.0-b06 | 1,202 | 7/31/2017 |
| 5.0.0-b04 | 1,243 | 6/26/2017 |
| 5.0.0-b03 | 1,250 | 5/18/2017 |
| 5.0.0-b02 | 1,210 | 5/17/2017 |
| 5.0.0-b01 | 1,252 | 3/23/2017 |
| 4.0.0 | 21,068 | 1/5/2017 |
| 3.0.0 | 3,143 | 11/4/2016 |
| 2.0.0 | 3,207 | 9/20/2016 |
| 2.0.0-b01 | 1,202 | 9/9/2016 |
| 0.99.74 | 2,788 | 8/29/2016 |
| 0.99.73 | 2,821 | 8/12/2016 |
| 0.99.72 | 2,766 | 8/4/2016 |
| 0.99.71 | 2,994 | 8/3/2016 |
| 0.99.70 | 2,960 | 7/29/2016 |
| 0.99.68 | 2,804 | 7/18/2016 |
| 0.99.67 | 2,798 | 7/1/2016 |
| 0.99.66 | 2,763 | 6/28/2016 |
| 0.99.65 | 2,741 | 6/23/2016 |
| 0.99.64 | 2,761 | 6/22/2016 |
| 0.99.63 | 2,743 | 6/21/2016 |
| 0.99.62 | 2,779 | 6/17/2016 |
| 0.99.61 | 2,799 | 6/17/2016 |
| 0.99.60 | 2,821 | 6/15/2016 |
| 0.99.59 | 2,978 | 6/3/2016 |
| 0.99.58 | 2,862 | 5/24/2016 |
| 0.99.57 | 2,762 | 5/22/2016 |
| 0.99.56 | 2,778 | 5/22/2016 |
| 0.99.55 | 2,733 | 5/16/2016 |
| 0.99.54 | 2,726 | 5/12/2016 |
| 0.99.53 | 2,750 | 5/12/2016 |
| 0.99.52 | 2,733 | 5/11/2016 |
| 0.99.51 | 2,705 | 5/9/2016 |
| 0.99.50 | 2,871 | 4/13/2016 |
| 0.99.48 | 2,794 | 4/6/2016 |
| 0.99.47 | 2,767 | 3/31/2016 |
| 0.99.46 | 2,792 | 3/30/2016 |
| 0.99.45 | 2,805 | 3/29/2016 |
| 0.99.44 | 2,790 | 3/26/2016 |
| 0.99.43 | 2,767 | 3/26/2016 |
| 0.99.42 | 2,805 | 3/22/2016 |
| 0.99.41 | 2,787 | 3/17/2016 |
| 0.99.40 | 2,807 | 3/15/2016 |
| 0.99.39 | 2,778 | 3/14/2016 |
| 0.99.38 | 2,758 | 3/9/2016 |
| 0.99.37 | 2,786 | 3/9/2016 |
| 0.99.36 | 2,825 | 3/3/2016 |
| 0.99.35 | 2,765 | 2/22/2016 |
| 0.99.34 | 2,774 | 2/19/2016 |
| 0.84.0 | 69,383 | 5/15/2015 |
| 0.83.0 | 2,975 | 4/20/2015 |
| 0.82.1 | 2,897 | 4/16/2015 |
| 0.82.0 | 4,789 | 3/18/2015 |
| 0.81.0 | 2,864 | 3/12/2015 |
| 0.80.1 | 2,937 | 3/5/2015 |
| 0.80.0 | 2,895 | 2/19/2015 |
| 0.79.0 | 2,845 | 2/6/2015 |
| 0.78.2 | 4,717 | 2/6/2015 |
| 0.78.1 | 4,755 | 2/5/2015 |
| 0.78.0 | 4,786 | 1/29/2015 |
| 0.77.1 | 2,873 | 1/23/2015 |
| 0.77.0 | 4,797 | 1/15/2015 |
| 0.76.0 | 2,795 | 1/15/2015 |
| 0.75.2 | 2,827 | 1/3/2015 |
| 0.75.1 | 3,225 | 12/21/2014 |
| 0.75.0 | 3,074 | 12/2/2014 |
| 0.74.1 | 3,033 | 12/2/2014 |
| 0.74.0 | 2,997 | 11/30/2014 |
| 0.73.0 | 5,250 | 11/6/2014 |
| 0.72.0 | 3,111 | 11/5/2014 |
| 0.71.4 | 2,885 | 10/29/2014 |
| 0.71.3 | 2,891 | 10/20/2014 |
| 0.71.2 | 2,857 | 9/30/2014 |
| 0.71.1 | 2,937 | 9/19/2014 |
| 0.71.0 | 2,913 | 8/7/2014 |
| 0.70.3 | 2,988 | 8/4/2014 |
| 0.70.2 | 2,903 | 7/31/2014 |
| 0.70.1 | 2,877 | 7/17/2014 |
| 0.69.0 | 2,928 | 6/17/2014 |
| 0.68.0 | 2,910 | 6/5/2014 |
| 0.67.0 | 3,033 | 5/20/2014 |
| 0.66.0 | 2,969 | 5/9/2014 |
| 0.65.0 | 2,999 | 4/27/2014 |
| 0.64.1 | 3,127 | 4/25/2014 |
| 0.64.0 | 4,916 | 4/20/2014 |
| 0.63.1 | 2,945 | 4/19/2014 |
| 0.63.0 | 2,983 | 3/24/2014 |
| 0.62.0 | 2,965 | 3/12/2014 |
| 0.61.1 | 4,798 | 3/5/2014 |
| 0.61.0 | 2,952 | 3/4/2014 |
| 0.60.1 | 2,976 | 3/3/2014 |
| 0.60.0 | 2,988 | 3/3/2014 |
| 0.59.0 | 2,998 | 2/26/2014 |
| 0.58.2 | 3,026 | 2/24/2014 |
| 0.58.1 | 4,803 | 2/24/2014 |
| 0.58.0 | 2,876 | 2/24/2014 |
| 0.57.0 | 2,965 | 2/18/2014 |
| 0.56.1 | 2,934 | 2/4/2014 |
| 0.56.0 | 2,924 | 1/24/2014 |
| 0.55.1 | 2,920 | 1/20/2014 |
| 0.55.0 | 4,813 | 1/20/2014 |
| 0.54.8 | 2,908 | 1/20/2014 |
| 0.54.7 | 4,782 | 1/20/2014 |
| 0.54.6 | 2,889 | 1/20/2014 |
| 0.54.5 | 2,958 | 1/20/2014 |
| 0.54.4 | 2,917 | 1/11/2014 |
| 0.54.3 | 2,900 | 1/8/2014 |
| 0.54.1 | 2,882 | 12/16/2013 |
| 0.54.0 | 2,941 | 12/10/2013 |
| 0.53.1 | 2,871 | 12/9/2013 |
| 0.53.0 | 4,784 | 12/5/2013 |
| 0.52.0 | 4,822 | 12/4/2013 |
| 0.51.1 | 2,902 | 12/3/2013 |
| 0.51.0 | 2,904 | 12/3/2013 |
| 0.50.1 | 2,888 | 11/15/2013 |
| 0.50.0 | 2,883 | 11/15/2013 |
| 0.49.0 | 2,927 | 11/15/2013 |
| 0.48.0 | 2,932 | 11/12/2013 |
| 0.47.0 | 2,935 | 11/6/2013 |
| 0.46.0 | 3,017 | 10/29/2013 |
| 0.45.0 | 2,956 | 10/21/2013 |
| 0.44.5 | 4,786 | 10/11/2013 |
| 0.44.4 | 2,909 | 10/7/2013 |
| 0.44.3 | 4,812 | 10/4/2013 |
| 0.44.2 | 2,970 | 10/4/2013 |
| 0.44.1 | 4,898 | 10/2/2013 |
| 0.44.0 | 2,914 | 10/2/2013 |
| 0.43.1 | 2,990 | 9/24/2013 |
| 0.43.0 | 3,094 | 9/17/2013 |
| 0.42.0 | 2,964 | 9/17/2013 |
| 0.41.0 | 4,840 | 9/10/2013 |
| 0.40.1 | 2,939 | 9/9/2013 |
| 0.40.0 | 2,928 | 9/2/2013 |
| 0.39.0 | 2,889 | 8/29/2013 |
| 0.38.1 | 2,890 | 8/28/2013 |
| 0.38.0 | 4,778 | 8/28/2013 |
| 0.37.0 | 2,921 | 8/26/2013 |
| 0.36.1 | 4,746 | 8/25/2013 |
| 0.36.0 | 2,961 | 8/25/2013 |
| 0.35.6 | 2,956 | 8/20/2013 |
| 0.35.5 | 2,958 | 8/20/2013 |
| 0.35.4 | 2,943 | 8/19/2013 |
| 0.35.3 | 2,988 | 8/17/2013 |
| 0.35.2 | 2,946 | 8/15/2013 |
| 0.35.1 | 2,933 | 8/14/2013 |
| 0.35.0 | 2,952 | 8/6/2013 |