Created
October 12, 2022 20:23
-
-
Save ajcrites/f64dab7a06e259cc5320961fb7a4745a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deleteStaleSpecials() { | |
return from(this.specials.filter(({ stale }) => stale)).pipe( | |
mergeMap(special => | |
from(this.deleteSpecial(special)).pipe( | |
catchError(e => of(e)) | |
) | |
) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment