mirror of https://github.com/Hilbis/Hilbish
docs: [ci] generate new docs
parent
068a5b5149
commit
cc6e5d01dd
|
@ -2,6 +2,8 @@ catch(name, cb) > Catches a hook with `name`. Runs the `cb` when it is thrown
|
|||
|
||||
catchOnce(name, cb) > Same as catch, but only runs the `cb` once and then removes the hook
|
||||
|
||||
hooks(name) -> {cb, cb...} > Returns a table with hooks on the event with `name`.
|
||||
|
||||
release(name, catcher) > Removes the `catcher` for the event with `name`
|
||||
For this to work, `catcher` has to be the same function used to catch
|
||||
an event, like one saved to a variable.
|
||||
|
|
|
@ -12,6 +12,9 @@ function bait.catch(name, cb) end
|
|||
--- @param cb function
|
||||
function bait.catchOnce(name, cb) end
|
||||
|
||||
--- Returns a table with hooks on the event with `name`.
|
||||
function bait.hooks() end
|
||||
|
||||
--- Removes the `catcher` for the event with `name`
|
||||
--- For this to work, `catcher` has to be the same function used to catch
|
||||
--- an event, like one saved to a variable.
|
||||
|
|
Loading…
Reference in New Issue