Buckets:
| const { Writable } = require('stream') | |
| function run (opts) { | |
| const { port } = opts | |
| return new Writable({ | |
| autoDestroy: true, | |
| write (chunk, enc, cb) { | |
| port.postMessage(chunk.toString()) | |
| cb() | |
| } | |
| }) | |
| } | |
| module.exports = run | |
Xet Storage Details
- Size:
- 263 Bytes
- Xet hash:
- e8a86f7a2dc44b03a63bde597ffad691bb93045f08dba9bce5c03a3fd8a9032e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.