Skip to main content

flush

Function flush 

Source
pub async fn flush<I: IntoIterator<Item = S>, S: AsRef<str>>(
    tags: I,
) -> Result<()>
Expand description

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.

§Errors

When the cache store can’t be written.