Skip to main content

AsyncDispatcher

A built-in dispatcher that extends the BaseDispatcher, if you are using this as a refrence for your own dispatcher, please use Sapling.extendBaseDispatcher to handle this metatable stuff for you.

Functions

new

AsyncDispatcher.new() → ()

dispatch

AsyncDispatcher:dispatch(
namestring,
...any
) → ()
Show raw api
{
    "functions": [
        {
            "name": "new",
            "desc": "",
            "params": [],
            "returns": [],
            "function_type": "static",
            "source": {
                "line": 15,
                "path": "packages/sapling/source/Dispatchers/AsyncDispatcher.luau"
            }
        },
        {
            "name": "dispatch",
            "desc": "",
            "params": [
                {
                    "name": "name",
                    "desc": "",
                    "lua_type": "string"
                },
                {
                    "name": "...",
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 26,
                "path": "packages/sapling/source/Dispatchers/AsyncDispatcher.luau"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "AsyncDispatcher",
    "desc": "A built-in dispatcher that extends the [BaseDispatcher], if you are using this as a refrence for your own dispatcher,\nplease use [Sapling.extendBaseDispatcher] to handle this metatable stuff for you.",
    "source": {
        "line": 8,
        "path": "packages/sapling/source/Dispatchers/AsyncDispatcher.luau"
    }
}