UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

3 lines • 642 B
import{t as createPluginRuntimeProcessEntrypoint}from"../../runtime-process-manifest-CUxW6j_V.mjs";import{a as resolveRuntimeWorkerUrl}from"../../runtime-worker-url-Dqf-I1cs.mjs";import{t as WorkerTaskPool}from"../../worker-task-pool-Bg54sSAN.mjs";import"../../process-runtime-Co5MR2hI.mjs"; //!extensions/web-readability/web-content-extractor-worker.runtime.ts const pool=new WorkerTaskPool({workerUrl:resolveRuntimeWorkerUrl(createPluginRuntimeProcessEntrypoint(`webReadability`,import.meta.url)),workerClass:`compute`,sharedCompute:true});function extractInWorker(e){return pool.run(e,{inputBytes:e.html.length*2})}export{extractInWorker};