[][src]Function indyrs::cache::purge_schema_cache

pub fn purge_schema_cache(
    wallet_handle: WalletHandle,
    options_json: &str
) -> Box<dyn Future<Item = (), Error = IndyError>>

Purge schema cache.

EXPERIMENTAL

Arguments

  • wallet_handle - wallet handle (created by open_wallet).
  • id - identifier of schema.
  • options_json - { maxAge: (int, optional, -1 by default) Purge cached data if older than this many seconds. -1 means purge all. }