### Method

# Shumate FileCache purge_cache_async

#### Declaration [src]

    void
    shumate_file_cache_purge_cache_async (
      ShumateFileCache* self,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Removes less used tiles from the cache, if necessary, until it fits in the size limit.

This method completes asynchronously. Use `shumate_file_cache_purge_cache_finish()` inside the `GAsyncReadyCallback` to obtain the result of the operation.

#### Parameters

`cancellable`

  Type: `GCancellable`

  A `GCancellable`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

`callback`

  Type: `GAsyncReadyCallback`

  A `GAsyncReadyCallback` to execute upon completion.

  The argument can be `NULL`.

`user_data`

  Type: `gpointer`

  Closure data for `callback`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.