SpawnRoblox✎
Runs the function on a new thread, **starting immediately** and continuing here when it yields or finishes. The thread is handed back so it can be cancelled.
Pending review
- needs the Roblox engine — its datatypes, its DataModel or its scheduler
- takes 0 to 8 inputs, set per node
- names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals
Inputs
- in:execution
- Function:functionmust be wired
Outputs
- then:execution
- Thread:any
What it compiles to
luau
task.spawn(fn)
Not reviewed yet