org.mapdb / QueueLong / takeUntil

takeUntil

fun takeUntil(f: QueueLongTakeUntil): Unit

Takes elements, until callback returns true. When callback returns false, last node is preserved in Queue