Skip to main content

RbxScriptConnection

A wrapper for an RBXScriptConnection. Makes the Janitor clean up when the instance is destroyed. This was created by Corecii.

Functions

Disconnect

RbxScriptConnection:Disconnect() → ()

Disconnects the Signal.

Show raw api
{
    "functions": [
        {
            "name": "Disconnect",
            "desc": "Disconnects the Signal.",
            "params": [],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 352,
                "path": "src/ReplicatedStorage/Modules/DataStructures/Janitor/init.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "RbxScriptConnection",
    "desc": "A wrapper for an `RBXScriptConnection`. Makes the Janitor clean up when the instance is destroyed. This was created by Corecii.",
    "source": {
        "line": 345,
        "path": "src/ReplicatedStorage/Modules/DataStructures/Janitor/init.lua"
    }
}