1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-23 19:21:53 +03:00

Refactor slightly

This commit is contained in:
Tae Won Ha 2023-12-23 22:47:30 +01:00
parent 0f6c793eb9
commit b248c89ec3
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -14,9 +14,7 @@ private extension PrimitiveSequenceType {
}
private func delayingCompletable() -> Completable {
Single.just(0)
.delay(.milliseconds(10), scheduler: MainScheduler.instance)
.asCompletable()
Completable.empty().delay(.milliseconds(10), scheduler: MainScheduler.instance)
}
/// No real test, just a sample code to see that it works with Neovim