Single.just(1).map { (input) -> String in
return "Value = \(input)"
}.flatMap { (input) -> PrimitiveSequence<SingleTrait, String> in
Single.just(input + " Desu.")
}.subscribe(onSuccess: { (result) in
print(result)
}).disposed(by: disposeBag)
댓글 없음:
댓글 쓰기