Click or drag to resize
Grid Solutions Framework

EvaluateTComputeSliceAsync Method

Executes a custom slice computation for the Grafana function.

Namespace: GrafanaAdapters.Functions.BuiltIn
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.218-beta
Syntax
public override IAsyncEnumerable<T> ComputeSliceAsync(
	Parameters parameters,
	CancellationToken cancellationToken
)
View Source

Parameters

parameters  Parameters
Input parameters for the computation.
cancellationToken  CancellationToken
Cancellation token.

Return Value

IAsyncEnumerableT
A sequence of computed data source parameters.

Implements

IGrafanaFunctionTComputeSliceAsync(Parameters, CancellationToken)
Remarks
This method is used to support custom slice computations for functions that need special handling for slice operations. By default, this method will call ComputeAsync(Parameters, CancellationToken) to perform the computation.
See Also