Ide.SymbolResolver.find_nearest_scope_async
Description: Reference for Ide.SymbolResolver.find_nearest_scope_async

### Virtual Method

# Ide SymbolResolverfind_nearest_scope_async

#### Declaration

    void
    find_nearest_scope_async (
      IdeSymbolResolver* self,
      IdeLocation* location,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description

This function asynchronously requests to locate the containing scope for a given source location.

See `ide_symbol_resolver_find_nearest_scope_finish()` for how to complete the operation.

Available since: | 3.32

#### Parameters

`location` | `IdeLocation`
| An `IdeLocation`.
| The data is owned by the caller of the function.
`cancellable` | `GCancellable`
| A `GCancellable` or `NULL`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`callback` | `GAsyncReadyCallback`
| An async callback.
`user_data` | `gpointer`
| User data for `callback`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.