takeIfPriorityIsAtLeast

fun LiveData<MainProcessPanel?>.takeIfPriorityIsAtLeast(minimumPriority: MainProcessPanel.Priority): LiveData<MainProcessPanel?>

Takes a MainProcessPanel only if its priority is at least minimumPriority. When the MainProcessPanel.Priority of the given panel is lower than the given minimumPriority, it is considered not relevant and it will be ignored, either until its priority increases, or until a new MainProcessPanel is given.