mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add app.is_instance_alive & rename app.terminate to app.terminate_instance
This commit is contained in:
parent
466f515ea9
commit
6bbc78098d
3 changed files with 19 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue