Concurrency

Server side of MST is fully multithreaded, but sometimes you want to run Unity's API. Use this method to run all Unity's API classes.

public void RunInMainThread(Action action)

If you want to run something in thread pool use this method.

public void RunInThreadPool(Action action, int delayOrSleep = 0)