RouterViewModelConfig

data class RouterViewModelConfig(val capacity: Capacity = Capacity.Default, val dispatcher: CoroutineDispatcher = Dispatchers.Default, val identity: Contract.Identity = Contract.identity())

Configuration options for RouterViewModel setup.

Parameters

capacity

Buffer capacity for the router's internal streams

dispatcher

Coroutine dispatcher for router operations

identity

Optional identity for the router instance

Constructors

Link copied to clipboard
constructor(capacity: Capacity = Capacity.Default, dispatcher: CoroutineDispatcher = Dispatchers.Default, identity: Contract.Identity = Contract.identity())

Properties

Link copied to clipboard
Link copied to clipboard
val dispatcher: CoroutineDispatcher
Link copied to clipboard