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

HorizonPlatformConfig Class

Modifiers: final
Configuration options for the Horizon Platform SDK.

Constructors

HorizonPlatformConfig ( processorDispatcher , connectionDispatcher )
Signature
constructor(processorDispatcher: CoroutineDispatcher, connectionDispatcher: CoroutineDispatcher)
Parameters
processorDispatcher: CoroutineDispatcher
The CoroutineDispatcher to use for processing requests. Should run in the background and support multiple concurrent tasks
connectionDispatcher: CoroutineDispatcher
The CoroutineDispatcher to use for managing setup and teardown of the service connection. Should run in the background
Returns
HorizonPlatformConfig

Properties

connectionDispatcher : CoroutineDispatcher
[Get]
Signature
val connectionDispatcher: CoroutineDispatcher
processorDispatcher : CoroutineDispatcher
[Get]
Signature
val processorDispatcher: CoroutineDispatcher