         this.initialiseWorker();
                }

                async initialiseWorker() {
                    if (!this.worker) {
                        this.worker = new Worker(this.workerURL, {
                            type: "module",
                        });
                        this.worker.addEventListener(
                            "message",
                            this.handleMessageFromWorker,
                        );
                    }
                }

                as