bind

fun bind(action: Runnable)

Binds a new action to be executed every time the loop is polled.

Parameters

action

The action to run.