findEmptySlot

fun findEmptySlot(channels: List<Channel>, maxChannels: Int = 8): Int?(source)

Finds the first writable channel slot after the primary channel.

Returns null when every slot up to maxChannels is already occupied.

Since

0.1.0