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