Skip to main content

PromiseGetRemoteEvent

Retrieves a remote event as a promise

Functions

PromiseGetRemoteEvent

PromiseGetRemoteEvent.PromiseGetRemoteEvent(namestring) → Promise<RemoteEvent>

Like GetRemoteEvent but in promise form.

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