~~~scala
writeSend(prioBuffer.peek) && { prioBuffer.removeFirst(); writePrioLoop() }
~~~

(just an idea)