EMPTY

type EMPTY = Observable<never>
EMPTY:   |
empty(): |

Represents an empty observable which emits complete event immediately after subscription.

import { EMPTY, empty } from 'light-observable/observable'

EMPTY.subscribe(console.log)
empty().subscribe(console.log)

/*
 crickets chirping...
*/

results matching ""

    No results matching ""