What is runBlocking Kotlin?

runBlocking is a coroutine function . … Runs a new coroutine and blocks the current thread interruptible until its completion. This function should not be used from a coroutine. It is designed to bridge regular blocking code to libraries that are written in suspending style, to be used in main functions and in tests.

Sizin İçin Seçtik  How do I speak to an American at AT&T?

Leave a Reply

Your email address will not be published. Required fields are marked *