Skip to main content
Version: 2.x

API Reference > @next-core/brick-kit > AbstractRuntime > registerCustomProcessor

AbstractRuntime.registerCustomProcessor() method

注册一个自定义加工函数。

Signature:

registerCustomProcessor(processorFullName: string, processorFunc: CustomProcessorFunc): void;

Parameters

ParameterTypeDescription
processorFullNamestring自定义加工函数名。
processorFuncCustomProcessorFunc自定义加工函数。

Returns:

void