Mailspring/packages/nylas-sync
Juan Tejada dd350a5081 Update IMAPConnection api + error handling fixes + misc
- `IMAPConnection::openBox` now returns a Promise that resolves to an
IMAPBox, and IMAPBox contains all of the `fetch` operations. This makes
the dependency between fetch operations and the currently open mailbox
explicit rather than implicit and by forcing the operations to be called on
a box instance and hopefully prevent errors. It will also throw an error
if the constraint is no longer satisfied.

- `fetch` operations now return an observable stream of messages (or Promise for single value),
while preserving the same logic of the original implementation. You can use `.toPromise()` on
the observable to get a Promise that resolves when the observable stream has
completely drained.

- Fixes error handling in a few places and renames some variables
2016-06-26 01:57:33 -07:00
..
imap Update IMAPConnection api + error handling fixes + misc 2016-06-26 01:57:33 -07:00
app.js Update threading and fix typo 2016-06-23 10:35:47 -07:00
package.json Convert to monorepo 2016-06-22 14:41:32 -07:00
sync-process-manager.js Gmail auth at http://localhost:5100/auth/gmail 2016-06-24 16:46:41 -07:00
sync-worker.js Gmail auth at http://localhost:5100/auth/gmail 2016-06-24 16:46:41 -07:00
syncback-task-factory.js Adding in syncback message actions 2016-06-23 16:47:07 -06:00