mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 21:57:55 +08:00
20 lines
378 B
JavaScript
20 lines
378 B
JavaScript
|
class SyncbackTask {
|
||
|
constructor(account, syncbackRequest) {
|
||
|
this._account = account;
|
||
|
this._syncbackRequest = syncbackRequest;
|
||
|
}
|
||
|
|
||
|
syncbackRequestObject() {
|
||
|
return this._syncbackRequest;
|
||
|
}
|
||
|
|
||
|
description() {
|
||
|
throw new Error("Must return a description")
|
||
|
}
|
||
|
|
||
|
run() {
|
||
|
throw new Error("Must implement a run method")
|
||
|
}
|
||
|
}
|
||
|
module.exports = SyncbackTask
|