Ah, yes, type inference doesn't seem to work here....
# announcements
r
Ah, yes, type inference doesn't seem to work here. It should work like this then:
Copy code
fun <T> bindToLifecycle(): Observable.Transformer<T, T> {
    return { source: Observable<T> -> source.takeUntil {
        ...
    }}
}