connect

fun connect(player: Player, onClose: () -> Unit)

Connect this repository to the player including listening to events.