Is there a best practice or suggestion for how to stop/dispose HubConnection?
Since there is no IDisposable for HubConnection, we cannot use using, any suggestion if we need to use StopAsync and DisposeAsync explicitly?
Any performance impact to use or not to use StopAsync and DisposeAsync?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Is there a best practice or suggestion for how to stop/dispose
HubConnection?Since there is no
IDisposableforHubConnection, we cannot useusing, any suggestion if we need to useStopAsyncandDisposeAsyncexplicitly?Any performance impact to use or not to use
StopAsyncandDisposeAsync?Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.