subject()
Creates a Subject — imperative push API plus get() / source() like any store.
Signature
ts
function subject<T>(): Subject<T>Returns
Subject<T> with next, error, complete, batch-aware emissions, and optional dedup when sinks exist.
Options / Behavior Details
- Dedup:
Object.isguard onnextapplies only while subscribers are connected.