2.1.0 • Published 2 years ago

abonnement-js v2.1.0

Weekly downloads
7
License
MIT
Repository
github
Last release
2 years ago

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

0.0.2

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

0.0.1

6 years ago

1.0.0

6 years ago