Beta (still building)

empty

empty() operator uses for creating an observable emits a complete notification Immediately.

Example: empty operator

import { empty } from 'rxjs';

const source$ = empty();

Official Doc: rxjs.empty