[−][src]Function webext_storage::api::clear
pub fn clear(tx: &Transaction<'_>, ext_id: &str) -> Result<StorageChanges>
The implementation of storage[.sync].clear()
. On success this returns the
StorageChanges defined by the chrome API - it's assumed the caller will
arrange to deliver this to observers as defined in that API.