Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
proton-dotnet-1.0.0-M1
-
None
Description
Add a new API to Connection and Session that allows a caller to poll for the next receiver in a session that has a pending delivery or wait on one to arrive.
Basic code example:
using (IConnection connection = client.Connect(serverHost, serverPort, options)) { _ = connection.OpenReceiver(address1); _ = connection.OpenReceiver(address2); IDelivery delivery = connection.NextReceiver().Receive(); ... }