import { dispatcher } from "../../../events/schedule/schedule.js";
import { createWaitUntil } from "../../../fetch/index.js";
import { addRoutes } from "../router.js";
import { skipWaiting } from "../skip-waiting.js";
export const removeInstallDispatcher = dispatcher("install", async (event, dispatch) => {
    const { wait, waitUntil } = createWaitUntil(event);
    await dispatch({
        ...event,
        waitUntil,
        skipWaiting,
        addRoutes
    });
    await wait();
});
//# sourceMappingURL=install.js.map