pub async fn flush<I: IntoIterator<Item = S>, S: AsRef<str>>( tags: I, ) -> Result<()>
Drops every cached response stored with any of the tags, such as orders and orders:5 after order 5 changes. Uses the default cache store, as the PHP package’s response_cache.store does when it is null; flush_in names another.
orders
orders:5
response_cache.store
flush_in
When the cache store can’t be written.