Mailspring/packages/local-sync
Juan Tejada 4e85993957 [local-sync] syncback(Part 3): Fixup runSyncbackTasks
Summary:
Now that we don't run Send tasks outside the sync loop, we don't need
that awful hack wich required passing a `runTask` callback to
`runSyncbackTask` in order to customize how to run the task.

Instead, runSyncbackTask now knows 2 ways to run a task, either via imap, or
via smtp, depending on the resource declared by task to run. So now
SyncbackTasks declare a resource type they need to run, and that will be
passed as their second argument when running.

Depends D3894

Test Plan: manual

Reviewers: mark, halla, spang, evan

Reviewed By: halla, spang, evan

Differential Revision: https://phab.nylas.com/D3896
2017-02-13 13:07:20 -08:00
..
images
spec [local-sync] rename spec fixture folder to be correct 2017-02-09 19:05:04 -05:00
src [local-sync] syncback(Part 3): Fixup runSyncbackTasks 2017-02-13 13:07:20 -08:00
stylesheets
main.es6 [local-sync] Log account info in all logs during local sync + color code 2017-02-07 11:04:10 -08:00
package.json