Navigation
API > API/Runtime > API/Runtime/Projects > API/Runtime/Projects/FProjectEditorRecord
Description
This is the main way to interact with the json contents to add entries in a safe way.
QueueUpdate schedules a task that will try to run in another thread and perform these operations:
- Acquires a system wide lock
- Loads the latest records from disk
- Runs the function passed as a parameter with the loaded contents
- Saves the records to disk
- Releases system wide lock
| Name | QueueUpdate |
| Type | function |
| Header File | /Engine/Source/Runtime/Projects/Public/ProjectEditorRecords.h |
| Include Path | #include "ProjectEditorRecords.h" |
| Source | /Engine/Source/Runtime/Projects/Private/ProjectEditorRecords.cpp |
static void QueueUpdate
(
TUniqueFunction < void &)> && InUpdateFunction
)
Parameters
| Name | Remarks |
|---|---|
| Function | used to update the records in a worker thread |