Commandments

Commandments.

Thou shall NOT block the main thread.
  • It's ok run run on the main thread and suspend when waiting without blocking.
  • Example of blocking functions: runBlocking/Thread.sleep()/blocking IO operations.