allData
Returns all data transmissions of the specified type.
This is useful for asserting on multiple data emissions of the same type.
Return
List of all data transmissions of type T
Example:
val allUserData = allData<UserData>()
assertEquals(3, allUserData.size)
assertTrue(allUserData.all { it.isValid })
Content copied to clipboard
Parameters
T
The type of data to retrieve