drain

fun drain(nowMillis: Long, maxFrames: Int = 64, receive: (ByteArray) -> Unit)(source)

Delivers at most maxFrames consecutive fragments and checks deadlines even without new network input.