suspend fun <E> receiveBatch(channel: ReceiveChannel<E>, maxTimeMillis: Long, maxSize: Int): List<E>
Receive a batch of items from a channel, up to time and batch size limits.
the list of items in the order received
the channel to receive items from
maximum time in milliseconds to wait for items
maximum batch size