(chunk, controller)
| 43 | cb.start({ filename, lengthBytes }); |
| 44 | }, |
| 45 | transform(chunk, controller) { |
| 46 | loadedBytes += chunk.byteLength; |
| 47 | update(); |
| 48 | controller.enqueue(chunk); |
| 49 | }, |
| 50 | flush() { |
| 51 | update(); |
| 52 | cb.finish({ filename, lengthBytes }); |