ChannelResponseQueue(ILogger) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Producer/consumer queue to read Activities sent by the Adapter during asynchronous background requests such as DeliveryMode.Stream/ExpectReplies.
public ChannelResponseQueue(Microsoft.Extensions.Logging.ILogger logger);
new Microsoft.Agents.Hosting.AspNetCore.ChannelResponseQueue : Microsoft.Extensions.Logging.ILogger -> Microsoft.Agents.Hosting.AspNetCore.ChannelResponseQueue
Public Sub New (logger As ILogger)
Parameters
- logger
- ILogger
Remarks
StartHandlerForRequest and HandleResponsesAsync are called from the request thread. SendActivitiesAsync would ultimately be called from the background thread as Activities are sent through Adapter. CompleteHandlerForRequest is used to signal the queue for the request is complete and not further Activities will be queued.