Import
import { Subject } from "@typed/fx";This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export * as Subject from "./Subject.js";Members
Subject.ServiceDefines an Effect context service that is simultaneously a
Subject,Fx, andSinkfacade.Subject.ShareThe concrete lazy
Fxreturned byshare.Subject.SubjectA multicast boundary that is both an
Fxof its publications and aSinkthat accepts them. Successes and failures are pushed to every subscriber present when that publication begins.Subject.holdShares an
Fxand immediately replays its latest success or failure to each new subscriber.Subject.makeAcquires a
Subjectwhose subscribers and replay state are released with the currentScope.Subject.multicastMulticasts an
Fxwithout replaying values that arrived before a subscriber joined.Subject.replayShares an
Fxand replays up to the lastcapacitysuccesses or failures to new subscribers.Subject.shareShares one active execution of an
Fxamong subscribers through the suppliedSubject.Subject.unsafeMakeImmediately allocates a
Subjectwith the requested replay capacity and manual ownership.