ДМ
obs.pipe(
...operators,
tap(() => sub.next() )
)
--- better ----
const anotherObs = obs.pipe(
...operators
).shareReplay({ refcount: true })
и вот мы уже вместа сабжекта можем использовать
anotherObs
Size: a a a
ДМ
obs.pipe(
...operators,
tap(() => sub.next() )
)
const anotherObs = obs.pipe(
...operators
).shareReplay({ refcount: true })
anotherObs
ЕВ
AI
AI
ЕВ
obs.pipe(
...operators,
tap(() => sub.next() )
)
const anotherObs = obs.pipe(
...operators
).shareReplay({ refcount: true })
anotherObs
ДМ
ДМ
ЕВ
ДМ
ЕВ
ДМ
ДМ
ЕВ
ЕВ
ДМ
ДМ
AB
VM
AS
AB