Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
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[];