Package-level declarations

Types

Link copied to clipboard

SdkExecutors provides an ExecutorService and a NamedRunnable extension function to easily execute long-running tasks off the main thread.

Functions

Link copied to clipboard
fun ExecutorService.namedRunnable(name: String, block: () -> Unit)

namedRunnable can be used with SdkExecutors.diskIO and SdkExecutors.networkIO to execute tasks with the provided name making it easier to diagnose problems should they arise.