docs: update code sample for custom processors

getProcessorName is mandatory

Signed-off-by: Himanshu Mishra <himanshu@orkohunter>

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
Himanshu Mishra
2022-07-29 13:52:59 +05:30
committed by GitHub
parent 7ba1f9918c
commit 929a96e159
@@ -377,6 +377,10 @@ import {
export class SystemXReaderProcessor implements CatalogProcessor {
constructor(private readonly reader: UrlReader) {}
getProcessorName(): string {
return 'SystemXReaderProcessor';
}
async readLocation(
location: LocationSpec,
_optional: boolean,