Skip to main content

RxValueBaseUtils

Functions

observeBrio

RxValueBaseUtils.observeBrio(
parentInstance,
classNamestring,
namestring,
predicatecallback--

Optional callback

) → Observable<Brio<any>>

Observes a value base underneath a parent (last named child).

observe

RxValueBaseUtils.observe(
parentInstance,
classNamestring,
namestring,
defaultValueany
) → Observable<any>

Observes a value base underneath a parent

observeValue

RxValueBaseUtils.observeValue(valueObjectInstance) → Observable<T>

Observables a given value object's value

Show raw api
{
    "functions": [
        {
            "name": "observeBrio",
            "desc": "Observes a value base underneath a parent (last named child).",
            "params": [
                {
                    "name": "parent",
                    "desc": "",
                    "lua_type": "Instance"
                },
                {
                    "name": "className",
                    "desc": "",
                    "lua_type": "string"
                },
                {
                    "name": "name",
                    "desc": "",
                    "lua_type": "string"
                },
                {
                    "name": "predicate",
                    "desc": "Optional callback",
                    "lua_type": "callback"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<Brio<any>>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 21,
                "path": "src/valuebaseutils/src/Shared/RxValueBaseUtils.lua"
            }
        },
        {
            "name": "observe",
            "desc": "Observes a value base underneath a parent",
            "params": [
                {
                    "name": "parent",
                    "desc": "",
                    "lua_type": "Instance"
                },
                {
                    "name": "className",
                    "desc": "",
                    "lua_type": "string"
                },
                {
                    "name": "name",
                    "desc": "",
                    "lua_type": "string"
                },
                {
                    "name": "defaultValue",
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<any>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 45,
                "path": "src/valuebaseutils/src/Shared/RxValueBaseUtils.lua"
            }
        },
        {
            "name": "observeValue",
            "desc": "Observables a given value object's value",
            "params": [
                {
                    "name": "valueObject",
                    "desc": "",
                    "lua_type": "Instance"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<T>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 62,
                "path": "src/valuebaseutils/src/Shared/RxValueBaseUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "RxValueBaseUtils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/valuebaseutils/src/Shared/RxValueBaseUtils.lua"
    }
}