Module @just-web/events

@just-web/events

NPM version NPM downloads

@just-web/events provides event based pub/sub system to @just-web applications.

Install

# 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

Usage

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(...)

Index

Interfaces

Type Aliases

Functions

Generated using TypeDoc