executeAfter

fun executeAfter(afterMicroseconds: Long = 0, operation: () -> Unit)(source)

Plan job for further execution in the worker.

If the worker was created with errorReporting set to true, any exception escaping from operation will be handled by processUnhandledException.

Since Kotlin

1.3

Parameters

afterMicroseconds

defines after how many microseconds delay execution shall happen, 0 means immediately,

Throws

if operation parameter is not frozen and worker is not current.