Click or drag to resize
Grid Solutions Framework

GrafanaFunctionBaseTComputeSetAsync Method

Executes a custom set computation for the Grafana function.

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

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