postAsync

fun postAsync(task: () -> Unit)

Posts the task on sdk thread. The task will run async on sdk call. Post will happen without any delay.

Parameters

task

the job that will be executed on the engine thread once is free.


fun postAsync(task: () -> Unit, delayMillis: Long)

Posts the task on sdk thread. The task will run async on sdk call. The task would be posted with delay in milliseconds.

Parameters

task

the job that will be executed on the engine thread once is free.

delayMillis

delay in milliseconds.