sfmcsdk / com.salesforce.marketingcloud.sfmcsdk.components.utils / SdkExecutors

SdkExecutors

class SdkExecutors

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

Properties

diskIO

An Executors.newSingleThreadExecutor for disk, or similar operations.

val diskIO: ExecutorService

networkIO

An Executors.newFixedThreadPool for network, or similar operations, with 2 Threads.

val networkIO: ExecutorService