SignalsThe Connection object
Signals

The Connection object

Represents a signal callback connection returned by `getconnections`.

Related to sUNC documentation

This page follows the official sUNC reference.

Fields

NameTypeDescription
Enabledboolean

Whether the connection is active.

ForeignStateboolean

Whether the connection belongs to a foreign Luau state.

LuaConnectionboolean

Whether the connection was created from Luau.

Function(...any) -> (...any)?

The bound function when accessible.

Threadthread?

The creating thread when accessible.

Methods

NameTypeDescription
Fire(...args)()

Fires the connected function.

Defer(...args)()

Defers the connected function.

Disconnect()()

Disconnects the connection.

Disable()()

Disables the connection.

Enable()()

Enables the connection.