This package has been archived, and as such it is read-only.
@xan/broadcast-subject@0.1.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Works with
•JSR Score100%•This package works with Node.js, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun



Published2 months ago (0.1.0)
A lightweight, RxJS-inspired library implementing the Observer pattern in JavaScript. Features BroadcastSubjects with AbortController-based unsubscription, supporting both synchronous and asynchronous producers.
Add Package
pnpm i jsr:@xan/broadcast-subject
pnpm dlx jsr add @xan/broadcast-subject
Import symbol
import { type BroadcastSubjectConstructor } from "@xan/broadcast-subject";
Add Package
yarn add jsr:@xan/broadcast-subject
yarn dlx jsr add @xan/broadcast-subject
Import symbol
import { type BroadcastSubjectConstructor } from "@xan/broadcast-subject";
Add Package
vlt install jsr:@xan/broadcast-subject
Import symbol
import { type BroadcastSubjectConstructor } from "@xan/broadcast-subject";
Add Package
npx jsr add @xan/broadcast-subject
Import symbol
import { type BroadcastSubjectConstructor } from "@xan/broadcast-subject";
Add Package
bunx jsr add @xan/broadcast-subject
Import symbol
import { type BroadcastSubjectConstructor } from "@xan/broadcast-subject";