SynchronousDataTransformerInfo interface
Many transformations can be called with a simple synchronous function. When a transformer is defined, it should have identical behavior to using the operator
Signature
export interface SynchronousDataTransformerInfo<TOptions = any> extends DataTransformerInfo<TOptions>
Import
import { SynchronousDataTransformerInfo } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
transformer | (options: TOptions) => (frames: DataFrame[]) => DataFrame[] |
transformer property
Signature
transformer: (options: TOptions) => (frames: DataFrame[]) => DataFrame[];