(data, updateMsg, fileCbFunc)
| 14 | return null; |
| 15 | } |
| 16 | decompress(data, updateMsg, fileCbFunc) { |
| 17 | const compressed = this.isCompressed(data.slice(0, 10)); |
| 18 | if (compressed === null) { |
| 19 | if (typeof fileCbFunc === "function") { |
| 20 | fileCbFunc("!!notCompressedData", data); |
| 21 | } |
| 22 | return new Promise(resolve => resolve({ "!!notCompressedData": data })); |
| 23 | } |
| 24 | return this.decompressFile(compressed, data, updateMsg, fileCbFunc); |
| 25 | } |
| 26 | getWorkerFile(method) { |
| 27 | return new Promise(async (resolve, reject) => { |
| 28 | let path, obj; |
no test coverage detected