Skip to main content

InsertServiceUtils

Functions

promiseAsset

InsertServiceUtils.promiseAsset(assetIdnumber) → Promise<Instance>

Promises the resulting asset is inserted from insert service, or a rejection

Show raw api
{
    "functions": [
        {
            "name": "promiseAsset",
            "desc": "Promises the resulting asset is inserted from insert service, or a rejection",
            "params": [
                {
                    "name": "assetId",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<Instance>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 19,
                "path": "src/insertserviceutils/src/Shared/InsertServiceUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "InsertServiceUtils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/insertserviceutils/src/Shared/InsertServiceUtils.lua"
    }
}