meli/melib/src/backends/jmap
Manos Pitsidianakis 819d993f11
melib/backends: replace watch() with watcher(), BackendWatcher trait
```
Return a [`Box<dyn BackendWatcher>`](BackendWatcher), to which you can
register the mailboxes you are interested in for updates and then
consume to spawn a watching `Future`.  The `Future` sends events to the
[`BackendEventConsumer`](BackendEventConsumer) supplied to the backend
in its constructor method.
```

Watching mailboxes for updates is more flexible now that you can
explicitly register mailboxes and set polling period.
2021-01-15 19:12:09 +02:00
..
objects melib: don't use both {set,push}_references() 2021-01-15 16:41:40 +02:00
rfc8620 melib/jmap: make backend async 2020-08-07 13:51:44 +03:00
connection.rs melib/jmap: put JmapSession behind mutex 2021-01-05 17:12:14 +02:00
mailbox.rs melib/jmap: implement refresh() 2020-09-23 10:52:19 +03:00
objects.rs JMAP WIP #4 2019-12-13 00:04:58 +02:00
operations.rs melib/jmap: put JmapSession behind mutex 2021-01-05 17:12:14 +02:00
protocol.rs melib/jmap: fix mailbox children relationships being ignored 2021-01-08 15:23:25 +02:00
rfc8620.rs melib/jmap: put JmapSession behind mutex 2021-01-05 17:12:14 +02:00
watch.rs melib/backends: replace watch() with watcher(), BackendWatcher trait 2021-01-15 19:12:09 +02:00