Skip to content

Type Alias: ReplaySubject<T>

ReplaySubject<T> = Subject<T>

Defined in: subjects/replaySubject.ts:26

A type alias for a ReplaySubject, which is a type of Subject.

A ReplaySubject stores a specified number of the latest values it has emitted and "replays" them to any new subscribers. This allows late subscribers to receive past values they may have missed.

Type Parameters

T

T = any

The type of the values emitted by the subject.

Released under the MIT License.