Rebus.Async 10.0.0

dotnet add package Rebus.Async --version 10.0.0                
NuGet\Install-Package Rebus.Async -Version 10.0.0                
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="Rebus.Async" Version="10.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rebus.Async --version 10.0.0                
#r "nuget: Rebus.Async, 10.0.0"                
#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 Rebus.Async as a Cake Addin
#addin nuget:?package=Rebus.Async&version=10.0.0

// Install Rebus.Async as a Cake Tool
#tool nuget:?package=Rebus.Async&version=10.0.0                

Rebus.Async

install from nuget

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 :)

alternate text is missing from this package README image


(*) 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 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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.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
10.0.0 41,441 11/15/2023
10.0.0-alpha02 143 8/2/2023
10.0.0-alpha01 125 3/27/2023
9.0.0 28,355 2/28/2023
8.0.1 44,594 12/28/2022
8.0.0 381 12/28/2022
7.2.0 120,002 3/15/2021
7.1.0 77,071 3/4/2020
7.0.0 3,849 3/4/2020
7.0.0-b01 601 9/16/2019
6.0.2 18,570 8/26/2019
6.0.0 784 8/26/2019
5.0.1 2,409 8/9/2019
5.0.0 28,990 8/15/2017
5.0.0-b06 818 7/31/2017
5.0.0-b04 852 6/26/2017
5.0.0-b03 856 5/18/2017
5.0.0-b02 818 5/17/2017
5.0.0-b01 853 3/23/2017
4.0.0 18,843 1/5/2017
3.0.0 1,469 11/4/2016
2.0.0 1,549 9/20/2016
2.0.0-b01 828 9/9/2016
0.99.74 1,101 8/29/2016
0.99.73 1,153 8/12/2016
0.99.72 1,085 8/4/2016
0.99.71 1,344 8/3/2016
0.99.70 1,284 7/29/2016
0.99.68 1,130 7/18/2016
0.99.67 1,114 7/1/2016
0.99.66 1,083 6/28/2016
0.99.65 1,076 6/23/2016
0.99.64 1,080 6/22/2016
0.99.63 1,067 6/21/2016
0.99.62 1,095 6/17/2016
0.99.61 1,118 6/17/2016
0.99.60 1,158 6/15/2016
0.99.59 1,299 6/3/2016
0.99.58 1,173 5/24/2016
0.99.57 1,103 5/22/2016
0.99.56 1,102 5/22/2016
0.99.55 1,077 5/16/2016
0.99.54 1,055 5/12/2016
0.99.53 1,064 5/12/2016
0.99.52 1,068 5/11/2016
0.99.51 1,050 5/9/2016
0.99.50 1,184 4/13/2016
0.99.48 1,110 4/6/2016
0.99.47 1,085 3/31/2016
0.99.46 1,101 3/30/2016
0.99.45 1,119 3/29/2016
0.99.44 1,099 3/26/2016
0.99.43 1,104 3/26/2016
0.99.42 1,123 3/22/2016
0.99.41 1,090 3/17/2016
0.99.40 1,124 3/15/2016
0.99.39 1,110 3/14/2016
0.99.38 1,079 3/9/2016
0.99.37 1,098 3/9/2016
0.99.36 1,153 3/3/2016
0.99.35 1,086 2/22/2016
0.99.34 1,092 2/19/2016
0.84.0 51,438 5/15/2015
0.83.0 1,276 4/20/2015
0.82.1 1,193 4/16/2015
0.82.0 1,215 3/18/2015
0.81.0 1,174 3/12/2015
0.80.1 1,244 3/5/2015
0.80.0 1,223 2/19/2015
0.79.0 1,149 2/6/2015
0.78.2 1,147 2/6/2015
0.78.1 1,175 2/5/2015
0.78.0 1,216 1/29/2015
0.77.1 1,182 1/23/2015
0.77.0 1,223 1/15/2015
0.76.0 1,118 1/15/2015
0.75.2 1,160 1/3/2015
0.75.1 1,554 12/21/2014
0.75.0 1,379 12/2/2014
0.74.1 1,337 12/2/2014
0.74.0 1,297 11/30/2014
0.73.0 1,653 11/6/2014
0.72.0 1,425 11/5/2014
0.71.4 1,186 10/29/2014
0.71.3 1,192 10/20/2014
0.71.2 1,167 9/30/2014
0.71.1 1,248 9/19/2014
0.71.0 1,215 8/7/2014
0.70.3 1,307 8/4/2014
0.70.2 1,208 7/31/2014
0.70.1 1,191 7/17/2014
0.69.0 1,224 6/17/2014
0.68.0 1,226 6/5/2014
0.67.0 1,335 5/20/2014
0.66.0 1,260 5/9/2014
0.65.0 1,316 4/27/2014
0.64.1 1,418 4/25/2014
0.64.0 1,328 4/20/2014
0.63.1 1,231 4/19/2014
0.63.0 1,305 3/24/2014
0.62.0 1,264 3/12/2014
0.61.1 1,241 3/5/2014
0.61.0 1,254 3/4/2014
0.60.1 1,284 3/3/2014
0.60.0 1,286 3/3/2014
0.59.0 1,294 2/26/2014
0.58.2 1,314 2/24/2014
0.58.1 1,207 2/24/2014
0.58.0 1,176 2/24/2014
0.57.0 1,253 2/18/2014
0.56.1 1,237 2/4/2014
0.56.0 1,220 1/24/2014
0.55.1 1,216 1/20/2014
0.55.0 1,214 1/20/2014
0.54.8 1,203 1/20/2014
0.54.7 1,222 1/20/2014
0.54.6 1,184 1/20/2014
0.54.5 1,262 1/20/2014
0.54.4 1,214 1/11/2014
0.54.3 1,200 1/8/2014
0.54.1 1,182 12/16/2013
0.54.0 1,237 12/10/2013
0.53.1 1,169 12/9/2013
0.53.0 1,214 12/5/2013
0.52.0 1,262 12/4/2013
0.51.1 1,192 12/3/2013
0.51.0 1,215 12/3/2013
0.50.1 1,193 11/15/2013
0.50.0 1,193 11/15/2013
0.49.0 1,225 11/15/2013
0.48.0 1,227 11/12/2013
0.47.0 1,228 11/6/2013
0.46.0 1,328 10/29/2013
0.45.0 1,271 10/21/2013
0.44.5 1,204 10/11/2013
0.44.4 1,204 10/7/2013
0.44.3 1,227 10/4/2013
0.44.2 1,254 10/4/2013
0.44.1 1,319 10/2/2013
0.44.0 1,215 10/2/2013
0.43.1 1,301 9/24/2013
0.43.0 1,380 9/17/2013
0.42.0 1,257 9/17/2013
0.41.0 1,252 9/10/2013
0.40.1 1,249 9/9/2013
0.40.0 1,220 9/2/2013
0.39.0 1,186 8/29/2013
0.38.1 1,177 8/28/2013
0.38.0 1,206 8/28/2013
0.37.0 1,216 8/26/2013
0.36.1 1,165 8/25/2013
0.36.0 1,278 8/25/2013
0.35.6 1,246 8/20/2013
0.35.5 1,248 8/20/2013
0.35.4 1,248 8/19/2013
0.35.3 1,267 8/17/2013
0.35.2 1,236 8/15/2013
0.35.1 1,222 8/14/2013
0.35.0 1,238 8/6/2013