Skip to main content

UserInfoAggregator

Aggregates all requests into one big send request to deduplicate the request

Functions

PromiseUserInfo

UserInfoAggregator:PromiseUserInfo(userIdnumber) → Promise<UserInfo>

Promises the user info for the given user, aggregating all requests to reduce calls into Roblox.

PromiseDisplayName

UserInfoAggregator:PromiseDisplayName(userIdnumber) → Promise<string>

Promises the user display name for the userId

PromiseDisplayName

UserInfoAggregator:PromiseDisplayName(userIdnumber) → Promise<string>

Promises the user display name for the userId

PromiseHasVerifiedBadge

UserInfoAggregator:PromiseHasVerifiedBadge(userIdnumber) → Promise<boolean>

Promises the user display name for the userId

ObserveUserInfo

UserInfoAggregator:ObserveUserInfo(userIdnumber) → Observable<UserInfo>

Observes the user display name for the userId

ObserveDisplayName

UserInfoAggregator:ObserveDisplayName(userIdnumber) → Observable<string>

Observes the user display name for the userId

Show raw api
{
    "functions": [
        {
            "name": "PromiseUserInfo",
            "desc": "Promises the user info for the given user, aggregating all requests to reduce\ncalls into Roblox.",
            "params": [
                {
                    "name": "userId",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<UserInfo>"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 39,
                "path": "src/userserviceutils/src/Shared/UserInfoAggregator.lua"
            }
        },
        {
            "name": "PromiseDisplayName",
            "desc": "Promises the user display name for the userId",
            "params": [
                {
                    "name": "userId",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<string>"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 63,
                "path": "src/userserviceutils/src/Shared/UserInfoAggregator.lua"
            }
        },
        {
            "name": "PromiseDisplayName",
            "desc": "Promises the user display name for the userId",
            "params": [
                {
                    "name": "userId",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<string>"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 78,
                "path": "src/userserviceutils/src/Shared/UserInfoAggregator.lua"
            }
        },
        {
            "name": "PromiseHasVerifiedBadge",
            "desc": "Promises the user display name for the userId",
            "params": [
                {
                    "name": "userId",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<boolean>"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 93,
                "path": "src/userserviceutils/src/Shared/UserInfoAggregator.lua"
            }
        },
        {
            "name": "ObserveUserInfo",
            "desc": "Observes the user display name for the userId",
            "params": [
                {
                    "name": "userId",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<UserInfo>"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 108,
                "path": "src/userserviceutils/src/Shared/UserInfoAggregator.lua"
            }
        },
        {
            "name": "ObserveDisplayName",
            "desc": "Observes the user display name for the userId",
            "params": [
                {
                    "name": "userId",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<string>"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 120,
                "path": "src/userserviceutils/src/Shared/UserInfoAggregator.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "UserInfoAggregator",
    "desc": "Aggregates all requests into one big send request to deduplicate the request",
    "source": {
        "line": 6,
        "path": "src/userserviceutils/src/Shared/UserInfoAggregator.lua"
    }
}