findAllEffects
Finds all effect transmissions of the specified type that match the predicate.
Return
List of all matching effect transmissions
Example:
val errorEffects = findAllEffects<ErrorEffect> { it.severity == ErrorSeverity.HIGH }
assertTrue(errorEffects.isNotEmpty())
Content copied to clipboard
Parameters
T
The type of effect to search for
predicate
Function to test each effect transmission