We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 734f286 commit 216de5cCopy full SHA for 216de5c
src/backend/services/ExtractZipServiceWorker.ts
@@ -6,16 +6,17 @@ import path from 'node:path'
6
export class ExtractZipServiceWorker extends EventEmitter {
7
worker: Worker
8
initPromise: Promise<void>
9
- #resolveInitPromise: () => void = () => {
10
- console.error('resolve init promise not assigned!')
11
- }
+ #resolveInitPromise: () => void
12
13
constructor(
14
zipFile: string,
15
destinationPath: string,
16
options?: extractOptions
17
) {
18
super()
+ this.#resolveInitPromise = () => {
+ console.error('resolve init promise not assigned!')
19
+ }
20
this.initPromise = new Promise((res) => {
21
this.#resolveInitPromise = res
22
})
0 commit comments