问题 I'm writing a angular file-upload component. Upon successful upload, it displays a notice and two buttons: replace : deletes uploaded file and opens the file-selector dialog remove : deletes uploaded file and displays a notice Deleting the uploaded file means making a HTTP DELETE request to a backend system and handling possible failure and retries. _handleReplace() { this.replaceClicked$.pipe( tap((x) => this._backend.delete(this.file, this.fieldName)), tap((x) => openFileSelectorDialog()) )