subscribeToGeofencingEvents

fun subscribeToGeofencingEvents(onEvent: (AFGeofenceEvent) -> Unit, onError: (Throwable) -> Unit = {}, onComplete: () -> Unit = {}): FlowSubscription

Subscribe to AFGeofencing events using callbacks. Works fine from Swift and Objective-C without async/await.