Signals
The Connection object
Represents a signal callback connection returned by `getconnections`.
Related to sUNC documentation
This page follows the official sUNC reference.
Fields
| Name | Type | Description |
|---|---|---|
Enabled | boolean | Whether the connection is active. |
ForeignState | boolean | Whether the connection belongs to a foreign Luau state. |
LuaConnection | boolean | Whether the connection was created from Luau. |
Function | (...any) -> (...any)? | The bound function when accessible. |
Thread | thread? | The creating thread when accessible. |
Methods
| Name | Type | Description |
|---|---|---|
Fire(...args) | () | Fires the connected function. |
Defer(...args) | () | Defers the connected function. |
Disconnect() | () | Disconnects the connection. |
Disable() | () | Disables the connection. |
Enable() | () | Enables the connection. |