Skip to Content

$ Property Readonly

An observable that serves as the source for all emitter streams. It allows subscribers to listen to and react to emitted values or events

API

readonly $: Observable<T>;

Example

import {map} from 'rxjs'; import {emitter} from '@bitfiber/rx'; const num = emitter<number>(); // Uses emitter observable num.$ .pipe(map(v => v * 2)) .subscribe(v => console.log(v));
Last updated on