Observable inputs
In Angular, you can use RxJS to observe changes in an @Input
property.
To observe changes in this input property using RxJS,
you can use push next value to ReplaySubject
when a new value arrived.
Angular does not provide something like AsyncInput, but you can work around with ReplaySubject
In Angular, you can use RxJS to observe changes in an @Input
property.
To observe changes in this input property using RxJS,
you can use push next value to ReplaySubject
when a new value arrived.
Your support helps me continue my work. Please consider making a donation.
Donations are accepted through PayPal or Stripe. You do not need a account to donate. All major credit cards are accepted.