mirror of https://github.com/laurent22/joplin.git
15 lines
189 B
JavaScript
15 lines
189 B
JavaScript
|
class DecryptionWorker {
|
||
|
|
||
|
constructor() {
|
||
|
this.state_ = 'idle';
|
||
|
}
|
||
|
|
||
|
start() {
|
||
|
if (this.state_ !== 'idle') return;
|
||
|
|
||
|
this.state_ = 'started';
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports = DecryptionWorker;
|