Aliases
SignalObject.connect
Arguments
function
required
The callback to register. Keep the same function object for removal.
Returns
SignalConnection
A custom connection with Connected=true.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Subscribes a callback to a custom Signal emitter.
event:Connect(callback: function): SignalConnection
SignalObject.connectlocal event = Signal.new()
local connection = event:Connect(function(value) print(value) end)
event:Fire("hello")
task.wait()
connection:Disconnect()
