Signals & connectionsOverview
SignalConnection.Disconnect
Removes a local Signal listener.
Details#
Unsubscribes a connection returned by the local Signal facade. This handle belongs to that signal implementation, not the engine Connection facade returned by getconnections.
Examples#
Example
local signal = Signal.new()
local connection = signal:Connect(print)
connection:Disconnect()
signal:Fire("no subscribed callback")