method DocumentConnector.end DocumentConnector.end(): Promise<void> Closes all connections and cleans up resources. After calling end(), the connector cannot be used to create new adapters. Return Type Promise<void>