WICG / storage-foundation-api-explainer

Explainer showcasing a new web storage API, NativeIO
Apache License 2.0
63 stars 8 forks source link

(de)serialize option #27

Open SanderElias opened 3 years ago

SanderElias commented 3 years ago

I have been reading through the spec, and I might have missed this one. But, as this is working on a client's browser, I need a way to be able to sync between clients (the user has probably a computer, a tablet, and a phone, to begin with)

Then there is the whole 'Backup' thing that still is needed. I don't think I need to explain this.

In my opinion, we would need an option so that we can stream the complete storage content to another place. Also, interop with nodeJs would be welcome, as a way to easily provide server-side backup.

Lioric commented 3 years ago

what is wrong with storageFoundation.getAll and an iterator to concatenate every NativeIOFile to your stream?