API reference
API reference
Select your platform
No SDKs available
No versions available

HorizonPlatformConfig

Updated: Jul 24, 2025

HorizonPlatformConfig

data class HorizonPlatformConfig(val processorDispatcher: CoroutineDispatcher = Dispatchers.IO, val connectionDispatcher: CoroutineDispatcher = Dispatchers.IO, val requestTimeout: Long = 10000)
Configuration options for the Horizon Platform SDK.
Parameters
JVM
NameSummary
processorDispatcher
The CoroutineDispatcher to use for processing requests. Should run in the background and support multiple concurrent tasks
connectionDispatcher
The CoroutineDispatcher to use for managing setup and teardown of the service connection. Should run in the background

Constructors

NameSummary
HorizonPlatformConfig
constructor(processorDispatcher: CoroutineDispatcher = Dispatchers.IO, connectionDispatcher: CoroutineDispatcher = Dispatchers.IO, requestTimeout: Long = 10000)

Properties

NameSummary
connectionDispatcher
val connectionDispatcher: CoroutineDispatcher
processorDispatcher
val processorDispatcher: CoroutineDispatcher
requestTimeout
val requestTimeout: Long = 10000
Did you find this page helpful?
Thumbs up icon
Thumbs down icon