Skip to content

Commit

Permalink
chore: merge from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
TorchedSammy committed Dec 2, 2022
2 parents 4e850bb + 09d04a7 commit 0c44531
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions emmyLuaDocs/bait.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ function bait.catch(name, cb) end
function bait.catchOnce(name, cb) end

--- Returns a table with hooks on the event with `name`.
function bait.hooks() end
--- @param name string
--- @returns table
function bait.hooks(name) 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.
function bait.release() end
--- @param name string
--- @param catcher function
function bait.release(name, catcher) end

--- Throws a hook with `name` with the provided `args`
--- @param name string
Expand Down

0 comments on commit 0c44531

Please sign in to comment.