subscribe

suspend fun subscribe(): EventReceiver<Unit>

Subscribe to repository events.

An even is emitted every time the content of the repo changes (e.g., a file is created, written to, removed, moved, ...).