import { ThreadWorker } from "poolifier";
import { onServiceWorkerWorkerData } from "./worker.js";
class ServiceWorkerWorker extends ThreadWorker {
    constructor() {
        super(data => onServiceWorkerWorkerData(data), {
            maxInactiveTime: 120000
        });
    }
}
export default new ServiceWorkerWorker();
//# sourceMappingURL=pool-worker.js.map