editor_job_start
Starts a long-running Flax editor operation such as compile, play mode control, or scene open as a background job and returns at once. Track progress and get the result with job_wait or job_status.
Instructions
Starts a long editor operation as a job and returns at once: compile (compile scripts and wait until the editor has reloaded and settled), play_start, play_stop, play_pause, play_resume, open_scene (path). Editor jobs run one at a time: another one while one runs fails with job_conflict naming it. Follow the job with job_wait or job_status; its result is what editor_compile, editor_play_mode or editor_open_scene return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | compile, play_start, play_stop, play_pause, play_resume or open_scene. | |
| path | No | For open_scene: the scene path, absolute or relative to Content/. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| jobId | Yes | ||
| startedUtc | Yes |