# UseCachedAsync

> This option sets the status query to first use the latest valid version control system status of the file and query for a valid status asynchronously if otherwise.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
UseCachedAsync = 2
```

### Remarks

Note that [AssetDatabase.IsOpenForEdit](/engine/6000.6/script-reference/unityeditor/assetdatabase/isopenforedit.md) and [AssetDatabase.IsMetaFileOpenForEdit](/engine/6000.6/script-reference/unityeditor/assetdatabase/ismetafileopenforedit.md) returns false while a query is in progress as the VCS status is still unknown.

Additional Resources: [AssetDatabase.IsOpenForEdit](/engine/6000.6/script-reference/unityeditor/assetdatabase/isopenforedit.md), [AssetDatabase.IsMetaFileOpenForEdit](/engine/6000.6/script-reference/unityeditor/assetdatabase/ismetafileopenforedit.md).
