Skip to main content

ImmediateInstall

Folds runtime addons while preserving the stacked type: Rt & AddonA & AddonB & ....

Every stacked installer is (rt, scheduler) -> rt'. Factories close over extra config and return that shape:

JecsImmediateInstall(components, DEBUG)

A Lua table { installer, installer } will not produce that megatype: Luau treats it as an array of a union. Separate arguments keep each step's From -> To. Use stack1stack8.

The game alias is typeof(create(...)) of a function that returns the stackN(...) result. Do not reassign one rt local across installers.

Show raw api
{
    "functions": [],
    "properties": [],
    "types": [],
    "name": "ImmediateInstall",
    "desc": "Folds runtime addons while preserving the stacked type:\n`Rt & AddonA & AddonB & ...`.\n\nEvery stacked installer is `(rt, scheduler) -> rt'`. Factories close over\nextra config and return that shape:\n\n```\nJecsImmediateInstall(components, DEBUG)\n```\n\nA Lua table `{ installer, installer }` will not produce that megatype:\nLuau treats it as an array of a union. Separate arguments keep each\nstep's `From -> To`. Use `stack1`–`stack8`.\n\nThe game alias is `typeof(create(...))` of a function that returns the\n`stackN(...)` result. Do not reassign one `rt` local across installers.",
    "source": {
        "line": 22,
        "path": "src/immediateutils/src/Shared/core/ImmediateInstall.lua"
    }
}