Voidを使用してるので当然だが、RxSwiftでreturnを使用した場合subscribeしても何も流れてこない。
example().subscribe(
onSuccess: { result in
// 実行されない
}, onError: { error in
// 実行されない
})
.dispose()
Go to list of users who liked
More than 3 years have passed since last update.
Voidを使用してるので当然だが、RxSwiftでreturnを使用した場合subscribeしても何も流れてこない。
example().subscribe(
onSuccess: { result in
// 実行されない
}, onError: { error in
// 実行されない
})
.dispose()
Register as a new user and use Qiita more conveniently
Go to list of users who liked