Skip to content

charliewilco/observatory

Repository files navigation

🔭 Observatory

An observable library, full typed and ES Module ready.

Install

yarn add @charliewilco/observatory

Usage

import { Observable } from "@charliewilco/observatory";

const n = new Observable<string>();

n.subscribe({ onNext: (nextValue) => console.log(nextValue) });

n.next("Hello");

// Console: "hello"