runOnce

fun runOnce(action: Runnable)

Run an action once.

Parameters

action

The action to run