Slide 18
Slide 18 text
Ԡ༻ : ΩϟϯηϧϙΠϯτΛ࡞Δ
let hoge = Observable.create { [unowned self] observer in
let cancelDisposable = BooleanDisposable()
let disposable = self.scheduler.schedule(()) { _ in
hogeTask1()
if cancelDisposable.disposed == true { return }
hogeTask2()
}
return CompositeDisposable(disposable, cancelDisposable)
}