API reference
API reference
Select your platform
No SDKs available
No versions available

ThreadUtility Class

A static class used for performing callbacks on the main thread

Overview

Static Public Member Functions

static void
CallOnMainThread
( Action callback )
Safely calls an action on the main thread using a scheduler.

Details

Static Member Functions

static void Meta.WitAi.ThreadUtility.CallOnMainThread
( Action callback )
Safely calls an action on the main thread using a scheduler.
Parameters
callback
The action to be performed on the main thread
Did you find this page helpful?
Thumbs up icon
Thumbs down icon