Predefined function reference

run_in_thread

A reference entry for run_in_thread

Predefined function · core

run_in_thread (function f) ⇒ boolean

Runs a function or lambda function within a separate thread.

Notes

Threaded functions run in separate threads to the main application and therefore results and order may be unpredictable. Use of threaded functions is encouraged for jobs that run in the background, but not for jobs that may affect the main application.