You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This server will use `config.hydrater_function` as its main function, to turn a file into metadata.
@@ -15,14 +26,12 @@ var utils = require('./utils.js');
15
26
* hydrater_function, the actual function to use for hydration. This function takes as params the path to the file on the disk, the current data about the document and a callback to use after hydration. First param is the path to the file, second param the document (metadata, binary_document_type). Third param is the callback, send as first argument an error if any, then the new document data.
16
27
* Optional:
17
28
* concurrency, max number of simultaneous calls to your hydrater function (default is 1)
18
-
* logger, function to use for logging. Defaults to console.log
0 commit comments