mp:exit-process
— Exit the task from which it is invoked.
(mp:exit-process
)
When called from a running task, this function immediately causes the
task to finish. When invoked from the main thread, it is equivalent to
invoking ext:quit
with exit code 0.