Returns an Observable that emits no items to the Observer and immediately invokes its Observer#onComplete onComplete method. Scheduler:</
()
| 1811 | * @see <a href="http://reactivex.io/documentation/operators/empty-never-throw.html">ReactiveX operators documentation: Empty</a> |
| 1812 | */ |
| 1813 | @CheckReturnValue |
| 1814 | @SchedulerSupport(SchedulerSupport.NONE) |
| 1815 | @SuppressWarnings("unchecked") |
| 1816 | @NonNull |
| 1817 | public static <@NonNull T> Observable<T> empty() { |
| 1818 | return RxJavaPlugins.onAssembly((Observable<T>) ObservableEmpty.INSTANCE); |
| 1819 | } |
| 1820 | |
| 1821 | /** |
| 1822 | * Returns an {@code Observable} that invokes an {@link Observer}'s {@link Observer#onError onError} method when the |