mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-04 20:13:11 +08:00
Summary: This commit introduces interruptible sync operations. Now, the `SyncWorker`, `FetchFolderList` operation and `FetchMessagesInFolder` operation can be interrupted at several points during their execution. This improves the performance of SyncbackTasks, which now run almost immediately. To achieve this, this commit adds an Interruptible abstraction, which is an object that can run functions and interrupt them at points marked by the function. For more info on how this works, see the docs on the Interruptible class. This commit also splits up the SyncWorker a little bit to make it smaller, byadding a SyncbackTaskWorker. Depends on D3613 Test Plan: Manual Reviewers: spang, mark, jackie, khamidou, evan, halla Reviewed By: evan, halla Differential Revision: https://phab.nylas.com/D3612 |
||
---|---|---|
.. | ||
isomorphic-core | ||
local-private | ||
local-sync |