213 shaares
1 résultat
taggé
empiler
this.service.event()
.pipe(
debounceTime(1000),
distinctUntilChanged(),
tap(() => {
this.isLoading = true;
})
)
.subscribe((data: any) => {
this.isLoading = false;
if (data != null) {
}
})