Package com.tapkey.mobile.concurrent
Interface AsyncScheduler
-
public interface AsyncScheduler
An object used to execute given functionality at a given time. Usually such objects are associated with a certain thread or thread pool. Most notably an AsyncScheduler can represent the UI thread or a pool of worker threads. The current scheduler can be obtained viaAsyncSchedulers.current()
.- See Also:
Promise
,PromiseSource
,Async
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isInCurrentContext()
boolean
post(Runnable runnable)
boolean
postDelayed(Runnable runnable, long delayMs)
-