Connection objects, one per function connected to the signal, in connection order. Each object lets you inspect and control that connection beyond what the normal API allows.
A Connection carries:
Connected(boolean): whether the connection is still live.Function(function): the connected function, when it can be read.:Disconnect(): drop the connection.:Disable()/:Enable(): stop and resume the connection without dropping it.:Fire(...): invoke this one connection’s function directly.:Defer(...): invoke it on the deferred scheduler.
Parameters
RBXScriptSignal
required
The signal to read connections from.
Returns
table
An array of
Connection objects.Example
Errors
Related
firesignal: fire the signal instead.