     private var currentPlaceholderViewTopConstraint: NSLayoutConstraint?
 
     private let applicationCurrentyActive = Variable<Bool>(true)
-
-    private var waitingOperations: [() -> Void] = []
 
     /// Initializer with table view, placeholders container view, cusor and delegate parameters.
     ///

    }

    private func bindViewModelStates() {
        paginationViewModel.state.drive(onNext: { [weak self] state in
            let stateHandling = { [weak self] in
                switch state {
                case .initial:
                    self?.onInitialState()
                case .loading(let after):
                    self?.onLoadingState(afterState: after)
                case .loadingMore(let after):
                    self?.onLoadingMoreState(afterState: after)
                case .results(let newItems, let cursor, let after):
                    self?.onResultsState(newItems: newItems, inCursor: cursor, afterState: after)
                case .error(let error, let after):
                    self?.onErrorState(error: error, afterState: after)
                case .empty:
                    self?.onEmptyState()
                case .exhausted:
                    self?.onExhaustedState()
                }
            }

            guard let strongSelf = self else {
                return
            }

            if strongSelf.applicationCurrentyActive.value {
                stateHandling()
            } else {
                strongSelf.waitingOperations.append(stateHandling)
            }
        })
        .addDisposableTo(disposeBag)

                self?.applicationCurrentyActive.value = true
            })
            .addDisposableTo(disposeBag)
    }

}
