RxSwift: Empty Operator
- Emits no elements followed by a
.completed
event. - Useful when you want to return an observable that immediately terminates or intentionally has zero values.
let observable = Observable<Void>.empty()
< All Posts
.completed
event.let observable = Observable<Void>.empty()