mapToActiveExpandedProcessPanel

fun LiveData<out Collection<AnyPanel>>.mapToActiveExpandedProcessPanel(): LiveData<ExpandedProcessPanel?>

Maps a collection containing all AnyPanels of all Frontends to the active ExpandedProcessPanel. If multiple ExpandedProcessPanels are present in the collection, the active one is considered the newest one.

If no ExpandedProcessPanel is present in the collection, null will be returned.