# AssetDatabase.RefreshImportMode

> Options that control whether the Editor imports assets in the Editor process, or in parallel in import worker processes, during an Asset Database refresh.

## Definition

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

```csharp
public enum AssetDatabase.RefreshImportMode
```

## Remarks

To read the mode that the Asset Database currently uses, use [AssetDatabase.ActiveRefreshImportMode](/engine/6000.7/script-reference/unityeditor/assetdatabase/activerefreshimportmode.md). For more information, refer to [Editor settings](/engine/6000.7/manual/unity-editor/editor-settings-reference/comp-manager-group/class-editor-manager.md) and [Import assets out of process](/engine/6000.7/manual/assets-and-media/import-assets/parallel-import.md).

## Fields

| Value                                                                                                                       | Description                                                                                                                                                  |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [InProcess](/engine/6000.7/script-reference/unityeditor/assetdatabase/refreshimportmode/inprocess.md)                       | Unity imports all assets sequentially in the Editor process.                                                                                                 |
| [OutOfProcessPerQueue](/engine/6000.7/script-reference/unityeditor/assetdatabase/refreshimportmode/outofprocessperqueue.md) | Unity imports assets in parallel in import worker processes, based on which importer handles them, and imports the rest of the assets in the Editor process. |
