mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	chore: merge from upstream
This commit is contained in:
		
						commit
						0c44531a7f
					
				@ -13,12 +13,16 @@ function bait.catch(name, cb) end
 | 
			
		||||
function bait.catchOnce(name, cb) end
 | 
			
		||||
 | 
			
		||||
--- Returns a table with hooks on the event with `name`.
 | 
			
		||||
function bait.hooks() end
 | 
			
		||||
--- @param name string
 | 
			
		||||
--- @returns table
 | 
			
		||||
function bait.hooks(name) end
 | 
			
		||||
 | 
			
		||||
--- 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.
 | 
			
		||||
function bait.release() end
 | 
			
		||||
--- @param name string
 | 
			
		||||
--- @param catcher function
 | 
			
		||||
function bait.release(name, catcher) end
 | 
			
		||||
 | 
			
		||||
--- Throws a hook with `name` with the provided `args`
 | 
			
		||||
--- @param name string
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user