export type TDestroyWorkerFunction = () => void;