fun onJoin(callback: (key: String, currentPresence: Entry?, newPresence: Entry) -> Unit): Unit
Set the callback for join event
Note: the callback might be called on another thread
callback - The function to be called on join
callback