Updated connections

This commit is contained in:
2023-01-15 13:28:45 -05:00
parent 3776fdff9d
commit a7a902acd6
2 changed files with 65 additions and 154 deletions
+9
View File
@@ -138,9 +138,18 @@ Added
Changed
---
- Connections internals changed, not too much changed on the surface.
- newConnection(protect, func, kill)
- `protect` disables fastmode, but protects the connection
- `func` uses `..` and appends func to the connection so it calls it after all connections run. There is some internal overhead added when using this, but it isn't much.
- `kill` removes the connection when fired
**Note:** When using protect/kill connections are triggered in reverse order
Removed
---
- conn:SetHelper(func) -- With the removal of old Connect this function is nolonger needed
- connection events can nolonger can be chained with connect. Connect only takes a function that you want to connect
Fixed
---