SignalId<T> is the union type of BehaviorId<T> and EventId<T>, hence it
represents an identifier that corresponds either to a behavior or to an event.
You can use the typeguards isBehaviorId or isEventId to check the concrete
type of a SignalId.
Type Parameters
T
specifies the value-type for the corresponding observable
SignalId<T>
is the union type ofBehaviorId<T>
andEventId<T>
, hence it represents an identifier that corresponds either to a behavior or to an event. You can use the typeguards isBehaviorId or isEventId to check the concrete type of aSignalId
.