make the resultSelector for `combineLatest` optional