Mailspring/packages/client-sync/src
Mark Hahnenberg acd3bf5954 [client-sync] Refactor _search Observable
Summary:
We had this weird nesting where we would keep the IMAPConnection open
beyond the scope of the connection pool and return the created
Observable. This diff inverts that relationship and flattens out some of
the indentation, making the code easier to read. This is in preparation
for refactoring the IMAPConnectionPool to no longer automatically handle
timeouts.

Test Plan: Run locally, make sure search still works

Reviewers: juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D4165
2017-03-09 14:26:06 -08:00
..
local-api [client-sync] Refactor _search Observable 2017-03-09 14:26:06 -08:00
local-sync-dashboard [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
local-sync-worker [client-sync] Gracefully handle large amounts of unknown UIDs from search 2017-03-09 11:47:18 -08:00
message-processor [client-sync] Refactor message processing throttling 2017-03-08 14:18:44 -08:00
models [client-sync] Fetch unknown search results 2017-03-07 11:30:58 -08:00
shared Revert "Revert "[feat] Add support for send later"" 2017-03-07 17:21:29 -08:00