Table of Contents

OnDisposeManagedResourcesAsync Method

Definition

Namespace
Savvyio.Extensions.RabbitMQ
Assemblies
Savvyio.Extensions.RabbitMQ.dll
Source
src/Savvyio.Extensions.RabbitMQ/RabbitMqMessage.cs

OnDisposeManagedResourcesAsync()

Called when this object is being disposed by DisposeAsync(). Disposes the RabbitMQ channel and connection asynchronously if they have been initialized.

protected override ValueTask OnDisposeManagedResourcesAsync()

Returns

ValueTask

A ValueTask representing the asynchronous dispose operation.