Skip to main content

RxTeleportUtils

Helps observe teleports.

Functions

observeTeleportBrio

RxTeleportUtils.observeTeleportBrio(playerPlayer) → Observable<Brio<number>>

Returns an observable that exists for the lifetime that the player is attempting to teleport to the given placeId.

Show raw api
{
    "functions": [
        {
            "name": "observeTeleportBrio",
            "desc": "Returns an observable that exists for the lifetime that the player is attempting to\nteleport to the given placeId.",
            "params": [
                {
                    "name": "player",
                    "desc": "",
                    "lua_type": "Player"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<Brio<number>>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 23,
                "path": "src/teleportserviceutils/src/Server/RxTeleportUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "RxTeleportUtils",
    "desc": "Helps observe teleports.",
    "source": {
        "line": 6,
        "path": "src/teleportserviceutils/src/Server/RxTeleportUtils.lua"
    }
}