handleMessageList
inline fun <V : Any> List<ContextMessageList<V>>.handleMessageList(block: (ContextMessageList<V>) -> Unit): List<V>
Handles a list of reports with block and then returns only the list of ContextMessageList.value.
Receiver
list of ContextMessageList to be handled
Return
remaining list of ContextMessageList.value
Parameters
block
the actual handler for the report message