lively.notifications

0.4.3 • Public • Published

Lively Notifications

A shared event bus for subscribing to and emitting system-wide notifications.

Example Use:

import { subscribe, emit } from "lively.notifications";
 
subscribe("mymessage", data => console.log(data));
emit("mymessage", {payload: 23});
 
// prints {type:"mymessage",time:1469576148746,payload:23}

Readme

Keywords

none

Package Sidebar

Install

npm i lively.notifications

Weekly Downloads

3

Version

0.4.3

License

MIT

Last publish

Collaborators

  • levjj
  • robertkrahn