processAction

fun processAction(action: () -> Unit)

The process function only enqueues the function name into the channel. The Channel and Flow handle concurrency and queuing safely, so no two calls will conflict or execute out of order.

Parameters

action

the function to enqueue