mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-13 18:00:41 +00:00
7 lines
246 B
Plaintext
7 lines
246 B
Plaintext
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`
|
|
|