runOnMain
Runs the provided block on the main thread. Since JavaScript does not have any threading, this will just run block
Parameters
block
the code to run on the main thread.
Runs the provided block on the main thread. Since JavaScript does not have any threading, this will just run block
the code to run on the main thread.