Is there an idiomatic way to un-register a callbac...
# rx
a
Is there an idiomatic way to un-register a callback wrapped by Observable.create?
Copy code
Observable.create { emitter ->
   myOldApi.addCallback { obj -> emitter.onNext(obj) }
   // where to call removeCallback...
}