Mailspring/packages
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
..
isomorphic-core [iso-core] Detect more offline errors when sending 2017-02-13 12:18:45 -08:00
local-private [local-sync] Don't crash app when reporting error and id not available 2017-02-09 09:27:36 -08:00
local-sync [local-sync] syncback(Part 3): Fixup runSyncbackTasks 2017-02-13 13:07:20 -08:00