Home > @lynx-js/react > DataProcessorDefinition > defaultDataProcessor

DataProcessorDefinition.defaultDataProcessor property

You can custom input and output type of defaultDataProcessor by extends InitDataRaw and InitData

Should be used with lynx.registerDataProcessors. See more examples at Lynx.registerDataProcessors.

Signature:

defaultDataProcessor?: (rawInitData: InitDataRaw) => InitData;