Executes a callback on the UI thread after a minimum specified duration.

Note that the UI thread performs rendering and is only executing callbacks once per frame. Since the interval between frames is typically 16 milliseconds, this method can not be relied upon for very short durations. For high-performance timing, consider spawning a new thread.

Location

Namespace
Fuse
Package
Fuse.Common 2.9.1

Parameters

duration

double

callback

Action