Skip to main content

PromiseGetRemoteFunction

Retrieves a remote function as a promise

Functions

PromiseGetRemoteFunction

PromiseGetRemoteFunction.PromiseGetRemoteFunction(namestring) → Promise<RemoteFunction>

Like GetRemoteFunction but in promise form.

Show raw api
{
    "functions": [
        {
            "name": "PromiseGetRemoteFunction",
            "desc": "Like [GetRemoteFunction] but in promise form.",
            "params": [
                {
                    "name": "name",
                    "desc": "",
                    "lua_type": "string"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<RemoteFunction>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 23,
                "path": "src/remoting/src/Shared/PromiseGetRemoteFunction.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "PromiseGetRemoteFunction",
    "desc": "Retrieves a remote function as a promise",
    "source": {
        "line": 5,
        "path": "src/remoting/src/Shared/PromiseGetRemoteFunction.lua"
    }
}