addOnRun

Adds a runnable that will be called when operation is finished. If the operation is already finished the runnable will be called immediately.

Parameters

runnable

A runnable.