-
public interface MainThreadSchedulerRuns work on the Android main thread. Production code uses HandlerMainThreadScheduler; tests may stub com.appsflyer.internal.components.di.ServiceLocator.getMainThreadScheduler.
-
-
Method Summary
Modifier and Type Method Description abstract UnitpostAndAwait(Runnable action)Runs action on the main thread and blocks the caller until it completes. -
-
Method Detail
-
postAndAwait
abstract Unit postAndAwait(Runnable action)
-
-
-
-