API Reference > @next-core/brick-kit > AbstractRuntime > registerCustomProcessor
AbstractRuntime.registerCustomProcessor() method
注册一个自定义加工函数。
Signature:
registerCustomProcessor(processorFullName: string, processorFunc: CustomProcessorFunc): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| processorFullName | string | 自定义加工函数名。 |
| processorFunc | CustomProcessorFunc | 自定义加工函数。 |
Returns:
void