awaitEffect

inline suspend fun <reified T : Transmission.Effect> awaitEffect(): T(source)

The next effect of type T, skipping effects of other types. Fails, listing what arrived, if none does.


suspend fun <T : Transmission.Effect> awaitEffect(type: KClass<T>): T(source)

The next effect of type, skipping effects of other types.