Object interface for an BroadcastSubject factory.
readonly
prototype: BroadcastSubject
A lightweight, RxJS-inspired library implementing the Observer pattern in JavaScript. Features BroadcastSubjects with AbortController-based unsubscription, supporting both synchronous and asynchronous producers.
Object interface for an BroadcastSubject factory.
prototype: BroadcastSubject
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";