presenceChangeFlow

Listen for clients joining / leaving the channel using presences

Example:

val presenceChangeFlow = channel.presenceChangeFlow()

presenceChangeFlow.collect {
val joins = it.decodeJoinsAs<User>()
val leaves = it.decodeLeavesAs<User>()
}