You can pass a predicate to RxJS’s first() operator, I was not aware!
My typical use-case for RxJS first() operator is to emit only the first item of an observable stream....
Tags: rxjs, javascript, typescript, webdev