README
abonnement-js
lightweight, naive, event susbscription
Simple excample
import {
Abonnement,
JoinedAbonnement,
AlleAbonnementer,
} from "../src/abonnement";
let stringAbonnement: Abonnement<String> = new Abonnement<String>("start value")
stringAbonnement.abonner(e => console.log("current value is " + e);
stringAbonnement.varsle("updated value")
Inspect the test-file for usage
Develop
npm ci & npm build
to build this pack