0.1.2 • Published 3 years ago
@charliewilco/observatory v0.1.2
An observable library
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"