# Hook<T extends any[]>
# Constructors
Instantiates a Hook.
# Instance Methods
# tap
Adds a callback to the hook.
- Arguments
callback
required- Type:
Function
- Arguments:
- Type:
T
- Type:
- Type:
- Returns
- Type:
void
- Type:
# untap
Removes a callback from the Hook.
- Arguments
callback
required- Type:
Function
- Arguments:
- Type:
T
- Type:
- Type:
- Returns
- Type:
void
- Type:
# clear
Removes all callbacks from the Hook.
- Returns
- Type:
void
- Type:
# trigger
Triggers all callbacks from the Hook.
- Arguments
- Type:
T
- Type:
- Returns
- Type:
void
- Type: