Interface IHeatmapHistoricalDataLoadedConsumer
- Namespace
- ATAS.Indicators.Heatmap
- Assembly
- ATAS.Indicators.dll
Optional capability: receive a notification when the host's working
data range expanded backward (e.g. user panned into history that
triggered a load). Implement only if the indicator needs to rebuild
or refill calculation state across newly-loaded historical samples.
Typical reaction: take a lease, Clear(), refill from new
historical range, dispose lease — the front stays visible across
the rebuild.
Added in ATAS 8.0.15.
public interface IHeatmapHistoricalDataLoadedConsumer
- Extension Methods
Methods
OnHistoricalDataLoadedAsync(HeatmapWorkingRangeUpdate, CancellationToken)
Notifies the indicator that the heatmap has loaded historical data and its working range now starts at NewDataStartTimeNanos. Called on the instance's own task, serialised with the other callbacks, for hidden instances as well as visible ones.
ValueTask OnHistoricalDataLoadedAsync(HeatmapWorkingRangeUpdate update, CancellationToken cancellationToken)
Parameters
updateHeatmapWorkingRangeUpdateThe previous and new bounds of the working data range.
cancellationTokenCancellationTokenCancelled when the per-call timeout expires or the instance is shut down.
Returns
- ValueTask
A task that completes when the indicator has reacted to the update.