Method to invoke the document transformation. This method calls the transformDocuments method with the provided input.
invoke(
input: DocumentInterface<Record<string, any>>[],
_options: BaseCallbackConfig
): Promise<DocumentInterface<Record<string, any>>[]>| Name | Type | Description |
|---|---|---|
input* | DocumentInterface<Record<string, any>>[] | The input documents to be transformed. |
_options | BaseCallbackConfig | Optional configuration object to customize the behavior of callbacks. |