mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
19 lines
378 B
JavaScript
19 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
|