462 B
462 B
weight | title | description | icon | date | lastmod |
---|---|---|---|---|---|
100 | MV_VM | Virtualize function | code_blocks | 2025-05-01T18:47:58-05:00 | 2025-05-01T18:47:58-05:00 |
declare function MV_VM<A..., R...>(vmFunction: (A...) -> R...): (A...) -> R...
will mark the passed function to be lifted into the VM.
Valid Usage
local virtualizedFunction = MV_VM(function(a, b, c)
print(a .. b .. c .. " im in the vm!")
end)
virtualizedFunction("1", "2", "3")