Step into Swift logo

What is the IgnoreElements Operator in RxSwift?

IgnoreElements Operator

RxSwift: IgnoreElements Operator

ignoreElements()

  • Ignores onNext events.
  • Only lets through onCompleted / onError events (i.e. Stop events).
  • Useful when you only want to be notified when sequence is terminated.
----1--2-----3--4---->

ignoreElements()

--------------------->

< All Posts