Table of Contents

Interface IHeatmapDisposableIndicator

Namespace
ATAS.Indicators.Heatmap
Assembly
ATAS.Indicators.dll

Optional capability: receive a deterministic disposal signal. The supervisor invokes DisposeAsync(CancellationToken) on the instance's own consumer task — serialised against any other in-flight call, observing the per-call timeout — when the instance is removed via HeatmapIndicatorsController.RemoveInstanceAsync or when the controller itself is disposed.

Added in ATAS 8.0.15.

public interface IHeatmapDisposableIndicator
Extension Methods

Methods

DisposeAsync(CancellationToken)

Releases the resources held by the indicator. Called on the instance's own task after the calls already queued, as the last call the instance receives, when the instance is removed from the heatmap or the heatmap's indicator host is disposed. It is not called for an instance that has already failed.

ValueTask DisposeAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancelled when the per-call timeout expires.

Returns

ValueTask

A task that completes when the resources have been released.