[][src]Module webext_storage::sync::outgoing

Functions

get_outgoing

Returns a vec of the payloads which should be uploaded.

outgoing_from_row
record_uploaded

Record the fact that items were uploaded. This updates the state of the local DB to reflect the state of the server we just updated. Note that this call is almost certainly going to be made in a different transaction than the transaction used in stage_outgoing(), and it will be called once per batch upload.

stage_outgoing

Stages info about what should be uploaded in a temp table. This should be called in the same transaction as apply_actions. record_uploaded() can be called after the upload is complete and the data in the temp table will be used to update the local store.