Click or drag to resize
Grid Solutions Framework

IGrafanaFunctionTComputeSliceAsync Method

Executes a custom slice computation for the Grafana function.

Namespace: GrafanaAdapters.Functions
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.207-beta
Syntax
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.
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