mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-27 14:14:19 +03:00
Adapt to RxSwift 6.2
This commit is contained in:
parent
b059010f55
commit
52d2aac3e0
@ -117,7 +117,7 @@ extension NvimView {
|
||||
|
||||
self.api
|
||||
.input(keys: result, errWhenBlocked: false)
|
||||
.subscribe(onError: { [weak self] error in
|
||||
.subscribe(onFailure: { [weak self] error in
|
||||
self?.log.error("Error in \(#function): \(error)")
|
||||
})
|
||||
.disposed(by: self.disposeBag)
|
||||
|
@ -621,7 +621,7 @@ extension NvimView {
|
||||
.subscribe(onSuccess: { [weak self] in
|
||||
self?.eventsSubject.onNext(.bufferWritten($0))
|
||||
self?.updateTouchBarTab()
|
||||
}, onError: { [weak self] error in
|
||||
}, onFailure: { [weak self] error in
|
||||
self?.bridgeLogger.error("Could not get the buffer \(handle): \(error)")
|
||||
self?.eventsSubject.onNext(
|
||||
.apiError(msg: "Could not get the buffer \(handle).", cause: error)
|
||||
|
Loading…
Reference in New Issue
Block a user