add app.is_instance_alive & rename app.terminate to app.terminate_instance

This commit is contained in:
MihailRis 2026-08-02 18:32:54 +03:00
parent 466f515ea9
commit 6bbc78098d
3 changed files with 19 additions and 3 deletions

View file

@ -204,6 +204,9 @@ app.start_background_instance(
output_file: string | nil
) -> int
-- Checks if the engine sub-instance is alive.
app.is_instance_alive(handle: int) -> boolean
-- Stops the engine sub-instance.
-- Returns true if the instance was alive at the time of the call.
app.terminate(handle: int) -> boolean