Skip to content

bertilxi/jitney

Repository files navigation

Jitney

This project was bootstrapped with TSDX.

Jitney is a dead simple event bus.

import { eventBus } from "jitney";

const handleEvent = event => {
  console.log(event);
};

const unsubscribe = eventBus.on("event", handleEvent);

eventBus.emit("event", "my custom event payload");

unsubscribe();

About

Tiny Event Bus

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published