2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-03-31 18:53:22 +00:00

docs: add emmy lua annotation for id in jobs.disown

This commit is contained in:
sammyette 2022-12-20 21:02:36 -04:00
parent 7234111d6d
commit 35e2a54172
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

1
job.go
View File

@ -462,6 +462,7 @@ func (j *jobHandler) luaAllJobs(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) {
// #interface jobs
// disown(id)
// Disowns a job. This deletes it from the job table.
// --- @param id number
func (j *jobHandler) luaDisownJob(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) {
if err := c.Check1Arg(); err != nil {
return nil, err