Hilbish/docs/bait.txt

5 lines
154 B
Plaintext

catch(name, cb) > Catches a hook with `name`. Runs the `cb` when it is thrown
throw(name, ...args) > Throws a hook with `name` with the provided `args`