How to transfer crawled stuff from the promise
eklem opened this issue · comments
Espen Klem commented
In bundle.js, the function needs to call a function in the regular javascript, for what ever you are building. Now it calls search-index directly, but what if the user is using another search engine, or not a search engine at all?
Could make an intermediate step and let it call a whatNow(items)
-function and that again can call the preferred function for the data crawled.
Espen Klem commented
called crawlHook