element-hq / element-meta

Shared/meta documentation and project artefacts for Element clients
75 stars 12 forks source link

Rust SDK: Support the resumption of the rehydration process #1978

Open poljar opened 1 year ago

uhoreg commented 6 months ago

How were you envisioning that resumption of rehydration would work?

poljar commented 6 months ago

You would, instead of using the memory store, use a temporary SQLite/IndexedDB store. There you would persist the to-device/next-batch token which would allow you to resume consuming to-device events once the application restarts.