Skip to main content

CharacterPromiseUtils

Utility for Roblox character objects that involve promises.

Functions

promiseCharacter

CharacterPromiseUtils.promiseCharacter(playerPlayer) → Promise<Model>

Returns a promise that will resolve once a character exists.

Show raw api
{
    "functions": [
        {
            "name": "promiseCharacter",
            "desc": "Returns a promise that will resolve once a character exists.",
            "params": [
                {
                    "name": "player",
                    "desc": "",
                    "lua_type": "Player"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<Model>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 19,
                "path": "src/characterutils/src/Shared/CharacterPromiseUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "CharacterPromiseUtils",
    "desc": "Utility for Roblox character objects that involve promises.",
    "source": {
        "line": 5,
        "path": "src/characterutils/src/Shared/CharacterPromiseUtils.lua"
    }
}