MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / executeOnUIThread

Function executeOnUIThread

packages/core/utils/common.ts:171–173  ·  view source on GitHub ↗
(func: Function)

Source from the content-addressed store, hash-verified

169}
170
171export function executeOnUIThread(func: Function) {
172 dispatchToUIThread(func);
173}
174
175export function mainThreadify(func: Function): (...args: any[]) => void {
176 return function (...args) {

Callers

nothing calls this directly

Calls 1

dispatchToUIThreadFunction · 0.90

Tested by

no test coverage detected