From 6bff669abe2251745337b568f5f1715242e62ab1 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Tue, 7 Dec 2021 17:41:41 -0400 Subject: [PATCH] docs(bait): document catchOnce --- docs/bait.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/bait.txt b/docs/bait.txt index a0948b8..9f1e54b 100644 --- a/docs/bait.txt +++ b/docs/bait.txt @@ -1,4 +1,6 @@ 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 + throw(name, ...args) > Throws a hook with `name` with the provided `args`