Package dev.arunkumar.compass.thread

Types

CloseableExecutor
Link copied to clipboard
interface CloseableExecutor : Executor, AutoCloseable
An Executor that can be safely released by calling AutoCloseable.close method.
HandlerExecutor
Link copied to clipboard
class HandlerExecutor(tag: String?) : CloseableExecutor
HandlerExecutor internally manages a HandlerThread instance that will be used to execute incoming tasks in Executor.execute.
RealmDispatcher
Link copied to clipboard
class RealmDispatcher(tag: String?) : CoroutineDispatcher, AutoCloseable
RealmExecutor
Link copied to clipboard
class RealmExecutor(tag: String?) : CloseableExecutor
An Executor that executes given work in a thread that has the Android Looper running.