CollectorDispatchers

Bounded IO pool for binder/disk/sensor reads — matches CollectorRuntime.passiveSemaphore.

Centralizing the dispatchers keeps collector concurrency capped so simultaneous probing does not saturate the device with binder/disk traffic.

Properties

Link copied to clipboard
val default: CoroutineDispatcher

Default (CPU-bound) dispatcher for hashing and in-memory processing.

Link copied to clipboard
val io: CoroutineDispatcher

IO dispatcher limited to 4 concurrent operations for binder/disk/sensor reads.