mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
update AsyncJob:cancel documentation from review
This commit is contained in:
parent
660151972f
commit
1c05dd067e
1 changed files with 1 additions and 0 deletions
|
@ -7999,6 +7999,7 @@ An `AsyncJob` is a reference to a job to be run in an async environment.
|
||||||
### Methods
|
### Methods
|
||||||
* `cancel()`: try to cancel the job
|
* `cancel()`: try to cancel the job
|
||||||
* Returns whether the job was cancelled.
|
* Returns whether the job was cancelled.
|
||||||
|
* A job can only be cancelled if it has not started.
|
||||||
|
|
||||||
`InvRef`
|
`InvRef`
|
||||||
--------
|
--------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue