forked from izaya/OC-PsychOS2
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
|
||||
|
||||
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))
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user