Dice Mist
Dice Mist is a wrapper for the Evaporate library providing web worker support.
When uploading multiple large files, it is possible for the upload process to lag the main JS thread, by delegating this work to a web worker you can keep your UI snappy.
Installation
npm i dice-mist
Usage
import Mist from 'dice-mist';
const config = {
worker: true
};
const files = [
];
Mist(config, files)
.progress((progress, id) => { })
.success((id, data, awsObjectKey) => { })
.error((reason, id) => { })
.start((cancel, id) => { });
How It Works
![Upload Sequence Diagram Sequence Diagram](https://raw.githubusercontent.com/DiceTechnology/dice-mist/master/docs/sequence.png)