mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	docs(bait): document catchOnce
This commit is contained in:
		
							parent
							
								
									c6edbc20af
								
							
						
					
					
						commit
						6bff669abe
					
				@ -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`
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user