Function CustomEventTarget.executeInUiThread

post task to execute in UI thread (this method can be used from background thread)

abstract void executeInUiThread(
  void delegate() runnable
);