From 0f402b67722fa437d5a04a92b369924962840d52 Mon Sep 17 00:00:00 2001
From: TorchedSammy
Date: Tue, 7 Feb 2023 22:28:19 +0000
Subject: [PATCH] deploy: 7961a441ad4a281fe689b9b53732480911eaf40f
---
docs/api/bait/index.html | 6 +++---
docs/api/fs/index.html | 18 +++++++++---------
.../hilbish/hilbish.completions/index.html | 13 +++++++------
docs/api/hilbish/hilbish.editor/index.html | 6 +++---
docs/api/hilbish/hilbish.history/index.html | 7 ++++---
docs/api/hilbish/index.xml | 12 ++++++------
docs/api/index.xml | 7 +++----
index.xml | 19 +++++++++----------
8 files changed, 44 insertions(+), 44 deletions(-)
diff --git a/docs/api/bait/index.html b/docs/api/bait/index.html
index 955c363..2289f3b 100644
--- a/docs/api/bait/index.html
+++ b/docs/api/bait/index.html
@@ -10,9 +10,9 @@ happened, like when you’ve changed directory, a command has failed,
etc. To find all available hooks thrown by Hilbish, see doc hooks.
Functions
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) ->
-
Returns a table with hooks (callback functions) on the event with name
.
release(name, catcher)
-
Removes the catcher
for the event with name
+
Same as catch, but only runs the cb
once and then removes the hook
hooks(name) -> table
+
Returns a table with hooks (callback functions) 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.
throw(name, …args)
Throws a hook with name
with the provided args