TaskHandler

actual class TaskHandler

The actual implementation of the TaskHandler class for the Android platform. It uses the Android Handler and Looper to execute tasks asynchronously on the main thread.

Constructors

Link copied to clipboard
actual constructor()

Functions

Link copied to clipboard
actual fun post(task: () -> Unit)

Posts a task to be executed asynchronously on the Android platform. The task will be executed on the main thread.