onDirty

var onDirty: () -> Unit?

Optional callback invoked after a render frame is published.

UI components should use this to trigger a repaint. The callback is invoked from the renderWorker thread.