@just-web/events provides event based pub/sub system to @just-web applications.
# npm
npm install @just-web/events
# yarn
yarn add @just-web/events
# pnpm
pnpm install @just-web/events
#rush
rush add -p @just-web/events
import { createApp } from '@just-web/app'
import eventsPlugin from '@just-web/events'
const app = createApp({ name: 'your-awesom-app' })
.extend(eventsPlugin)
await app.start()
app.events.emitter.emit(...)
Generated using TypeDoc