diff --git a/docs/api/bait/index.html b/docs/api/bait/index.html index 5f2d700..dfd09f6 100644 --- a/docs/api/bait/index.html +++ b/docs/api/bait/index.html @@ -6,6 +6,6 @@ Hilbish It throws hooks that you can catch. This is what you will use if you want to listen in on hooks to know when certain things have happened, like when you’ve changed directory, a command has failed, -etc. To find all available hooks thrown by Hilbish, see doc hooks.
Catches a hook with name
. Runs the cb
when it is thrown
Same as catch, but only runs the cb
once and then removes the hook
Returns a table with hooks on the event with name
.
Removes the catcher
for the event with name
+etc. To find all available hooks thrown by Hilbish, see doc hooks.
Catches a hook with name
. Runs the cb
when it is thrown
Same as catch, but only runs the cb
once and then removes the hook
Returns a table with hooks (callback functions) on the event with name
.
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.
Throws a hook with name
with the provided args