Skip to main content

TieSignalInterface

Interface that mirrors Signal API

Functions

Fire

TieSignalInterface:Fire(...T) → ()

Fires the signal

Connect

TieSignalInterface:Connect(callback(T...) → ()) → TieSignalConnection

Connects like an RBXSignalConnection

Show raw api
{
    "functions": [
        {
            "name": "Fire",
            "desc": "Fires the signal",
            "params": [
                {
                    "name": "...",
                    "desc": "",
                    "lua_type": "T"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 33,
                "path": "src/tie/src/Shared/Members/Signals/TieSignalInterface.lua"
            }
        },
        {
            "name": "Connect",
            "desc": "Connects like an RBXSignalConnection",
            "params": [
                {
                    "name": "callback",
                    "desc": "",
                    "lua_type": "(T...) -> ()"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "TieSignalConnection"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 48,
                "path": "src/tie/src/Shared/Members/Signals/TieSignalInterface.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "TieSignalInterface",
    "desc": "Interface that mirrors [Signal] API",
    "source": {
        "line": 6,
        "path": "src/tie/src/Shared/Members/Signals/TieSignalInterface.lua"
    }
}