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 via AsyncSchedulers.current().
    See Also:
    Promise, PromiseSource, Async
    • Method Detail

      • post

        boolean post​(Runnable runnable)
      • postDelayed

        boolean postDelayed​(Runnable runnable,
                            long delayMs)
      • isInCurrentContext

        boolean isInCurrentContext()