fix type annotation in event.ignore
This commit is contained in:
parent
d47a0748bd
commit
a917016a66
@ -36,7 +36,7 @@ function event.listen(e,f) -- string function -- -- run function *f* for every o
|
|||||||
end end,string.format("[%d] %s listener",os.pid(),e))
|
end end,string.format("[%d] %s listener",os.pid(),e))
|
||||||
end
|
end
|
||||||
|
|
||||||
function event.ignore(e,f) -- string function -- stop function *f* running for every occurance of event *e*
|
function event.ignore(e,f) -- string function -- -- stop function *f* running for every occurance of event *e*
|
||||||
computer.pushSignal("unlisten",e,tostring(f))
|
computer.pushSignal("unlisten",e,tostring(f))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user