remove_connection
Removes the given connection
modules.remove_connection(name: string)
Parameters
name
: The name of the connection
Example
local RunService = game:GetService("RunService")
modules.new_connection("test_connection",RunService.Heartbeat:Connect(function()
print("Hello world")
end))
task.wait(.5)
modules.remove_connection("test_connection")
Last updated